summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-09 12:01:36 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-09 12:01:36 +0000
commitc7fe699de61094debb21a293e2a4d991e501fe00 (patch)
treec25563ee52ea508d360fa06c6ee0634b52456018 /op.c
parent04a4d38e84a8a9c5528d4a7aecd68cc820b7a6ac (diff)
downloadperl-c7fe699de61094debb21a293e2a4d991e501fe00.tar.gz
Unroll 27425 - keeping Larry's order in op.c means that exactly the
same sequence of pad usage is generated with and without MAD. p4raw-id: //depot/perl@27433
Diffstat (limited to 'op.c')
-rw-r--r--op.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/op.c b/op.c
index a2f4bf9fc5..92dc88a511 100644
--- a/op.c
+++ b/op.c
@@ -6365,13 +6365,15 @@ Perl_ck_fun(pTHX_ OP *o)
listkids(o);
}
else if (PL_opargs[type] & OA_DEFGV) {
- OP *newop = newUNOP(type, 0, newDEFSVOP());
#ifdef PERL_MAD
+ OP *newop = newUNOP(type, 0, newDEFSVOP());
op_getmad(o,newop,'O');
+ return newop;
#else
+ /* Ordering of these two is important to keep f_map.t passing. */
op_free(o);
+ return newUNOP(type, 0, newDEFSVOP());
#endif
- return newop;
}
if (oa) {