diff options
author | David Mitchell <davem@iabyn.com> | 2015-10-15 11:34:41 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-02-03 08:59:42 +0000 |
commit | b042e3289b4fb004aeb597fff6026d9df30aee80 (patch) | |
tree | f08ecc5a75207c9ecb2dab36b8bd140c269e6091 /pp_sort.c | |
parent | 796464187416d7ed9e48c8ce9a8dffeeba5b8240 (diff) | |
download | perl-b042e3289b4fb004aeb597fff6026d9df30aee80.tar.gz |
do PL_tmps_floor restore in POPBLOCK
Currently every individual POPFOO type does
PL_tmps_floor = cx->cx_u.cx_blk.blku_old_tmpsfloor
as its last action.
Move all these into POPBLOCK instead, which always immediately follows
the POPFOO.
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1712,11 +1712,10 @@ PP(pp_sort) assert(CxTYPE(cx) == CXt_SUB); POPSUB(cx); } - else + else { assert(CxTYPE(cx) == CXt_NULL); - /* mimic POPSUB */ CX_LEAVE_SCOPE(cx); - PL_tmps_floor = cx->cx_u.cx_blk.blku_old_tmpsfloor; + } POPBLOCK(cx); cxstack_ix--; |