From ceb12bd8658d8542570022026702734394fec792 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Sat, 26 Dec 2015 12:37:30 +0000 Subject: 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. --- pp_sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pp_sort.c') diff --git a/pp_sort.c b/pp_sort.c index 2b1147ffc9..5f7ae22903 100644 --- a/pp_sort.c +++ b/pp_sort.c @@ -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); -- cgit v1.2.1