diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-04-07 12:15:40 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-04-07 12:15:40 +0000 |
commit | 20e98b0f9ccd1237d697ca82b2dc40058ff7f30b (patch) | |
tree | 807971e3b2e0b89a03097e244207533567c0728d /pp.c | |
parent | a6aa0b75b0eb9c04ef2df088983c48258eaa6f4f (diff) | |
download | perl-20e98b0f9ccd1237d697ca82b2dc40058ff7f30b.tar.gz |
Turn op_pmreplroot in struct pmop into a real union.
p4raw-id: //depot/perl@30865
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -4572,13 +4572,15 @@ PP(pp_split) RX_MATCH_UTF8_set(rx, do_utf8); - if (pm->op_pmreplroot) { #ifdef USE_ITHREADS - ary = GvAVn((GV*)PAD_SVl(INT2PTR(PADOFFSET, pm->op_pmreplroot))); + if (pm->op_pmreplrootu.op_pmtargetoff) { + ary = GvAVn((GV*)PAD_SVl(pm->op_pmreplrootu.op_pmtargetoff)); + } #else - ary = GvAVn((GV*)pm->op_pmreplroot); -#endif + if (pm->op_pmreplrootu.op_pmtargetgv) { + ary = GvAVn(pm->op_pmreplrootu.op_pmtargetgv); } +#endif else if (gimme != G_ARRAY) ary = GvAVn(PL_defgv); else |