diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-03-08 21:18:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-03-08 21:18:58 +0000 |
commit | c56915e340452a59ad21c8067931b8949e1b3204 (patch) | |
tree | 5a957531fadacfc63ef21cade3a6540fb1a9d9ae /op.c | |
parent | eb8433b7af0f2e09d06dd0cac2de576c6f007d03 (diff) | |
download | perl-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.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) { |