summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-21 00:19:27 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-30 11:48:36 -0800
commitafb6e3f520f7e3ce2c0ed90f778ed45b48f9e43c (patch)
treef18dc39ef8616fb353f14c0a715b296a14cb3a14 /pad.h
parente1c02f8429b9931efc13e763746fa70a9acd3324 (diff)
downloadperl-afb6e3f520f7e3ce2c0ed90f778ed45b48f9e43c.tar.gz
pad.h: Don’t use pad_compname_type
We only use PAD_COMPNAME_TYPE in one place, so wrapping it in a func- tion doesn’t save us anything, and probably slows things down if anything. Furthermore, PadnameTYPE will soon become even simpler than before.
Diffstat (limited to 'pad.h')
-rw-r--r--pad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pad.h b/pad.h
index 049b1c4a56..7624b21c8b 100644
--- a/pad.h
+++ b/pad.h
@@ -409,7 +409,7 @@ ling pad (lvalue) to C<gen>. Note that C<SvUV_set> is hijacked for this purpose
#define PAD_COMPNAME_FLAGS_isOUR(po) SvPAD_OUR(PAD_COMPNAME_SV(po))
#define PAD_COMPNAME_PV(po) PadnamePV(PAD_COMPNAME(po))
-#define PAD_COMPNAME_TYPE(po) pad_compname_type(po)
+#define PAD_COMPNAME_TYPE(po) PadnameTYPE(PAD_COMPNAME(po))
#define PAD_COMPNAME_OURSTASH(po) \
(SvOURSTASH(PAD_COMPNAME_SV(po)))