This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add old_tmpsfloor field to CXt_SUB context frame
authorDavid Mitchell <davem@iabyn.com>
Sat, 11 Jul 2015 13:42:56 +0000 (14:42 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:36 +0000 (08:59 +0000)
commit1dfbe6b4adf94405803bd5ecb5c549061eaede69
treee3fa75fc5900c7f0e5b15e23bc55d182a1ac3a32
parent39f959b3924aabef92cdea5372e354a1e158f871
add old_tmpsfloor field to CXt_SUB context frame

Rather than saving and restoring PL_tmps_floor on subroutine entry/exit
by using SAVETMPS and the save stack, store the old value directly
in the context struct and make PUSHSUB/POPSUB handle the saving and
restoring.
cop.h
pp_ctl.c
pp_hot.c
pp_sort.c