summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-17 12:13:09 +0000
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:18:34 +0000
commit75bc488d4e88019e591cb7483510cbd02ac47320 (patch)
treefc6aad4b7475ac855c032df98ad58dfbaa0fcf90 /embed.fnc
parente02ce34b5a3c7daaf3131c6aea9a98f7dbbba1b5 (diff)
downloadperl-75bc488d4e88019e591cb7483510cbd02ac47320.tar.gz
replace leave_common() with leave_adjust_stacks()
Make the remaining callers of S_leave_common() use leave_adjust_stacks() instead, then delete this static function. This brings the benefits of freeing TEMPS on all scope exists that has already been introduced on sub exits; uses the optimised code for creating mortal copies; and finally unifies all the different 'process return args on scope exit' implementations into single function.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index ddc2f32350..f83432d02a 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2073,8 +2073,6 @@ sR |PerlIO *|check_type_and_open|NN SV *name
#ifndef PERL_DISABLE_PMC
sR |PerlIO *|doopen_pm |NN SV *name
#endif
-s |void |leave_common |NN SV **newsp|NN SV **mark|I32 gimme \
- |U32 flags|bool lvalue
iRn |bool |path_is_searchable|NN const char *name
sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
sR |PMOP* |make_matcher |NN REGEXP* re