diff options
author | David Mitchell <davem@iabyn.com> | 2015-12-17 12:13:09 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-02-03 09:18:34 +0000 |
commit | 75bc488d4e88019e591cb7483510cbd02ac47320 (patch) | |
tree | fc6aad4b7475ac855c032df98ad58dfbaa0fcf90 /embed.fnc | |
parent | e02ce34b5a3c7daaf3131c6aea9a98f7dbbba1b5 (diff) | |
download | perl-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.fnc | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |