diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-01-21 13:08:11 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-01-21 13:08:11 +0000 |
commit | 377b1098958349a561ae80eec0745a3418c2ddb4 (patch) | |
tree | dd84c285293c4969299b55e46909c09f4616fb16 /perl.c | |
parent | 2f8edad0d37e91319b6ba10b3745327ea49c179b (diff) | |
download | perl-377b1098958349a561ae80eec0745a3418c2ddb4.tar.gz |
When changing the op_ppaddr of an op, one must keep its op_type
in sync. That helps writers of alternate runloops.
p4raw-id: //depot/perl@33026
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2610,7 +2610,9 @@ Perl_call_sv(pTHX_ SV *sv, I32 flags) Zero(&method_op, 1, UNOP); method_op.op_next = PL_op; method_op.op_ppaddr = PL_ppaddr[OP_METHOD]; + method_op.op_type = OP_METHOD; myop.op_ppaddr = PL_ppaddr[OP_ENTERSUB]; + myop.op_type = OP_ENTERSUB; PL_op = (OP*)&method_op; } |