This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
replace leave_common() with leave_adjust_stacks()
authorDavid Mitchell <davem@iabyn.com>
Thu, 17 Dec 2015 12:13:09 +0000 (12:13 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 09:18:34 +0000 (09:18 +0000)
commit75bc488d4e88019e591cb7483510cbd02ac47320
treefc6aad4b7475ac855c032df98ad58dfbaa0fcf90
parente02ce34b5a3c7daaf3131c6aea9a98f7dbbba1b5
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.
embed.fnc
embed.h
pp_ctl.c
pp_hot.c
proto.h
t/op/do.t
t/op/grep.t