summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2003-02-02 23:38:40 +0000
committerArtur Bergman <sky@nanisky.com>2003-02-02 23:38:40 +0000
commit3848b9623cf7b0bd4a28a02073a51953b168b7a6 (patch)
treee9eff7653c42c82a44862ff4200441a635942c49 /dump.c
parent6bcd9130d180dcc5fa05ebcff16b88ac3339b31d (diff)
downloadperl-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 'dump.c')
-rw-r--r--dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index d4d1444050..47712e8b9c 100644
--- a/dump.c
+++ b/dump.c
@@ -643,7 +643,7 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o)
break;
case OP_CONST:
case OP_METHOD_NAMED:
- Perl_dump_indent(aTHX_ level, file, "SV = %s\n", SvPEEK(cSVOPo->op_sv));
+ Perl_dump_indent(aTHX_ level, file, "SV = %s\n", SvPEEK(cSVOPo_sv));
break;
case OP_SETSTATE:
case OP_NEXTSTATE: