summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-08 21:18:58 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-08 21:18:58 +0000
commitc56915e340452a59ad21c8067931b8949e1b3204 (patch)
tree5a957531fadacfc63ef21cade3a6540fb1a9d9ae /op.c
parenteb8433b7af0f2e09d06dd0cac2de576c6f007d03 (diff)
downloadperl-c56915e340452a59ad21c8067931b8949e1b3204.tar.gz
The last MAD change to op.c changes the pad offsets of the test that
ext/B/t/f_map.t is using. p4raw-id: //depot/perl@27425
Diffstat (limited to 'op.c')
-rw-r--r--op.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/op.c b/op.c
index cce6197071..618f06be3a 100644
--- a/op.c
+++ b/op.c
@@ -6358,8 +6358,13 @@ 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_getmad(o,newop,'O');
+#else
op_free(o);
- return newUNOP(type, 0, newDEFSVOP());
+#endif
+ return newop;
}
if (oa) {