summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-09-27 17:25:24 +0100
committerNicholas Clark <nick@ccl4.org>2010-09-27 17:29:06 +0100
commita4e744802906bbf8435494e7f5ab1823213b2448 (patch)
treed89130f4c2dc060155148af1c385d311e09cd4a1 /op.c
parent77d8c8d52bcb3950617cc1491f1f2713db7ea126 (diff)
downloadperl-a4e744802906bbf8435494e7f5ab1823213b2448.tar.gz
Move OP prototypes from pp_proto.h to proto.h
Make embed.pl fully responsible for generating prototypes and embedding macros for pp_* and ck_* functions, placing them in embed.h and proto.h opcode.pl no longer generates pp_proto.h Remove the (effectively) duplicate explicit entries for (all but 2) ck_* functions from embed.fnc We can't actually remove pp_proto.h from the distribution *yet*, as ExtUtils::MM_Unix and ExtUtils::MM_VMS have hardcoded lists of the installed headers. Once this is resolved, we can.
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/op.c b/op.c
index 983bf3d1c6..c8c67f707c 100644
--- a/op.c
+++ b/op.c
@@ -7779,6 +7779,7 @@ OP *
Perl_ck_smartmatch(pTHX_ OP *o)
{
dVAR;
+ PERL_ARGS_ASSERT_CK_SMARTMATCH;
if (0 == (o->op_flags & OPf_SPECIAL)) {
OP *first = cBINOPo->op_first;
OP *second = first->op_sibling;
@@ -8684,6 +8685,7 @@ Perl_ck_svconst(pTHX_ OP *o)
OP *
Perl_ck_chdir(pTHX_ OP *o)
{
+ PERL_ARGS_ASSERT_CK_CHDIR;
if (o->op_flags & OPf_KIDS) {
SVOP * const kid = (SVOP*)cUNOPo->op_first;