summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-09 11:27:19 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-09 11:59:14 +0000
commit981b7185ef2472d1c02fc44a48e3319544ae0baf (patch)
tree17d8128afa9ae24a810beffe6a2382b35a08c9f9 /embed.fnc
parent897d398936dd2fc088a265fba2a7b62fa97ed458 (diff)
downloadperl-981b7185ef2472d1c02fc44a48e3319544ae0baf.tar.gz
regen/opcode.pl should only generate prototypes for pp_* functions that exist.
It now generates prototypes for all functions that implement OPs. Hence Perl_unimplemented_op no longer needs a special-case prototype. As it is now generating a prototype for Perl_do_kv, no need for regen/embed.pl to duplicate this. Convert the last two users of the macro do_kv() to Perl_do_kv(aTHX).
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index 7529a8d1fd..e309acc815 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -338,8 +338,8 @@ p |I32 |do_semop |NN SV** mark|NN SV** sp
p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
#endif
Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
-: Used in pp.c and pp_hot.c
-p |OP* |do_kv
+: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
+: p |OP* |do_kv
Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
|int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
Ap |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \