diff options
author | David Mitchell <davem@iabyn.com> | 2015-12-26 12:37:30 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-02-03 09:19:18 +0000 |
commit | ceb12bd8658d8542570022026702734394fec792 (patch) | |
tree | e025a81e110ba978ad5c6474d899ce498d2779d9 /pp_sort.c | |
parent | 274ed8ae511aa4c52d0c3e975eb44853d4f5336f (diff) | |
download | perl-ceb12bd8658d8542570022026702734394fec792.tar.gz |
PUSHSUB: make retop a parameter
Rather than doing cx->blk_sub.retop = NULL in PUSHSUB, then relying on
the caller to subsequently change it to something more useful, make it an
arg to PUSHSUB.
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1671,7 +1671,7 @@ PP(pp_sort) PUSHBLOCK(cx, CXt_NULL, gimme, PL_stack_base, old_savestack_ix); if (!(flags & OPf_SPECIAL)) { cx->cx_type = CXt_SUB|CXp_MULTICALL; - PUSHSUB(cx, cv, hasargs); + PUSHSUB(cx, cv, NULL, hasargs); if (!is_xsub) { PADLIST * const padlist = CvPADLIST(cv); |