diff options
author | David Mitchell <davem@iabyn.com> | 2015-12-26 11:52:33 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-02-03 09:19:18 +0000 |
commit | 40ba680a17dc8d6a78964c98884ac1cb18695d8a (patch) | |
tree | 10e8255c9cc84dae2fabf155921bffe061bd7c79 /pp_sort.c | |
parent | fd9b7244731b18bb1794c4ff6540e4040e51879b (diff) | |
download | perl-40ba680a17dc8d6a78964c98884ac1cb18695d8a.tar.gz |
PUSHSUB: don't use implicit args
Make cv and hasargs explicit parameters of PUSHSUB(), rather than just
assuming that there are such vars in scope.
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); + PUSHSUB(cx, cv, hasargs); if (!is_xsub) { PADLIST * const padlist = CvPADLIST(cv); |