summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-09 10:54:58 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-09 11:46:33 +0000
commit897d398936dd2fc088a265fba2a7b62fa97ed458 (patch)
tree38e2294c657822f375315f923e1daec3364e9ed0 /pp_hot.c
parent146326cb2bb55642adc3a8dbb7adf592f2e2e4e3 (diff)
downloadperl-897d398936dd2fc088a265fba2a7b62fa97ed458.tar.gz
Generate pp_* prototypes in pp_proto.h, and remove pp.sym
Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13 locations that relied on them. regen/opcode.pl now generates prototypes for the PP functions directly, into pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads this, removing the only ordering dependency in the regen scripts. opcode.pl is now responsible for prototypes for pp_* functions. (embed.pl remains responsible for ck_* functions, reading from regen/opcodes)
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index e7cda17966..bd0402af99 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -324,7 +324,7 @@ PP(pp_readline)
dSP;
XPUSHs(MUTABLE_SV(PL_last_in_gv));
PUTBACK;
- pp_rv2gv();
+ Perl_pp_rv2gv(aTHX);
PL_last_in_gv = MUTABLE_GV(*PL_stack_sp--);
}
}