summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-10-12 15:33:56 +0100
committerDavid Mitchell <davem@iabyn.com>2016-02-03 08:59:42 +0000
commitdd748f4511ead9174b04b875630d7947834c9ed1 (patch)
tree0ad9da5987bff2285c9a4765ee6e21ac64332af5 /pp_sort.c
parent4df352a81ba92beb6467d6dafdf988d8aba963c4 (diff)
downloadperl-dd748f4511ead9174b04b875630d7947834c9ed1.tar.gz
remove newpm param from POPBLOCK() macro.
Since all core usage of POPBLOCK now immediately restores PL_curpm, there's no need to copy the old value to a temp var specified by the caller; just make POPBLOCK itself restore PL_curpm in the same way that it restores all the other PL_ vars.
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sort.c b/pp_sort.c
index 3bd9f2aabf..47d4a064a2 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1720,7 +1720,7 @@ PP(pp_sort)
/* mimic POPSUB */
PL_tmps_floor = cx->cx_u.cx_blk.blku_old_tmpsfloor;
- POPBLOCK(cx,PL_curpm);
+ POPBLOCK(cx);
cxstack_ix--;
POPSTACK;
CATCH_SET(oldcatch);