This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_sort: move SAVETMPS later
authorDavid Mitchell <davem@iabyn.com>
Sat, 11 Jul 2015 12:58:47 +0000 (13:58 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:36 +0000 (08:59 +0000)
commit486430a5ae61ba02ab78cb71719b0fac0c47fb52
tree1ddc6d631caa0370ededf12809129a65e8f15480
parent80774f050c0c69194a7d501e38566ff35690833b
pp_sort: move SAVETMPS later

Move the SAVETMPS to just after the PUSHSUB. This should make no
functional difference, because nothing should have affected the TMPS stack
between the old and the new code positions.

For the OPf_SPECIAL/ CXt_NULL case, which doesn't do a PUSHSUB,
do another SAVETMPS there too.
pp_sort.c