diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-26 10:46:12 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-26 10:46:12 +0000 |
commit | 5edb5b2abb5db9e134cbde1a4d43fd61fa2b229d (patch) | |
tree | d04d3292bdb12858c20ae914b0290e53d8148317 /op.c | |
parent | c0a413d1892b414bcca7420c00e6725079449e3c (diff) | |
download | perl-5edb5b2abb5db9e134cbde1a4d43fd61fa2b229d.tar.gz |
Eliminate the OP_SETSTATE, which had been disabled by change 4309.
p4raw-id: //depot/perl@33072
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -484,7 +484,7 @@ Perl_op_free(pTHX_ OP *o) /* COP* is not cleared by op_clear() so that we may track line * numbers etc even after null() */ - if (type == OP_NEXTSTATE || type == OP_SETSTATE || type == OP_DBSTATE) { + if (type == OP_NEXTSTATE || type == OP_DBSTATE) { cop_free((COP*)o); } @@ -901,10 +901,8 @@ Perl_scalarvoid(pTHX_ OP *o) } if (o->op_type == OP_NEXTSTATE - || o->op_type == OP_SETSTATE || o->op_type == OP_DBSTATE || (o->op_type == OP_NULL && (o->op_targ == OP_NEXTSTATE - || o->op_targ == OP_SETSTATE || o->op_targ == OP_DBSTATE))) PL_curcop = (COP*)o; /* for warning below */ @@ -7972,7 +7970,6 @@ Perl_peep(pTHX_ register OP *o) o->op_opt = 1; PL_op = o; switch (o->op_type) { - case OP_SETSTATE: case OP_NEXTSTATE: case OP_DBSTATE: PL_curcop = ((COP*)o); /* for warnings */ @@ -8042,8 +8039,7 @@ Perl_peep(pTHX_ register OP *o) goto nothin; case OP_NULL: if (o->op_targ == OP_NEXTSTATE - || o->op_targ == OP_DBSTATE - || o->op_targ == OP_SETSTATE) + || o->op_targ == OP_DBSTATE) { PL_curcop = ((COP*)o); } |