summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-10-21 09:28:52 +0100
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:18:31 +0000
commit4ebe6e957149a0288810b6241653721d805397aa (patch)
treeed141b6705ef0a1c15337babf3bdce722b665105 /pp_sort.c
parent77189b8c243837b664cb444e867999e67e87ca44 (diff)
downloadperl-4ebe6e957149a0288810b6241653721d805397aa.tar.gz
add CX_CUR() macro
This is simply #define CX_CUR() (&cxstack[cxstack_ix])
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 a95796d01c..4079eef2be 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1699,7 +1699,7 @@ PP(pp_sort)
sort_flags);
/* Reset cx, in case the context stack has been reallocated. */
- cx = &cxstack[cxstack_ix];
+ cx = CX_CUR();
PL_stack_sp = PL_stack_base + cx->blk_oldsp;