diff options
author | Artur Bergman <sky@nanisky.com> | 2003-02-02 23:38:40 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2003-02-02 23:38:40 +0000 |
commit | 3848b9623cf7b0bd4a28a02073a51953b168b7a6 (patch) | |
tree | e9eff7653c42c82a44862ff4200441a635942c49 /op.c | |
parent | 6bcd9130d180dcc5fa05ebcff16b88ac3339b31d (diff) | |
download | perl-3848b9623cf7b0bd4a28a02073a51953b168b7a6.tar.gz |
Move SvPVIV out of ->op_sv of METHOD_NAMED into the pad, fixes
threading issue. Should perhaps be a PVOP to save memory, but then
we have nowhere to store the hash of the function!
p4raw-id: //depot/perl@18640
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6080,6 +6080,7 @@ Perl_peep(pTHX_ register OP *o) if (cSVOPo->op_private & OPpCONST_STRICT) no_bareword_allowed(o); #ifdef USE_ITHREADS + case OP_METHOD_NAMED: /* Relocate sv to the pad for thread safety. * Despite being a "constant", the SV is written to, * for reference counts, sv_upgrade() etc. */ |