summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-01-23 15:10:12 +0000
committerDavid Mitchell <davem@iabyn.com>2017-01-23 15:10:12 +0000
commit8217cd28dfa0c41f67d60dfda19d36280c922c01 (patch)
treee5e265e43c6844e5366203f68689ba55f7448e7e /dump.c
parent6f3289f02701c220917a04baadb76473ebe3c89a (diff)
downloadperl-8217cd28dfa0c41f67d60dfda19d36280c922c01.tar.gz
op_dump(): no OPf_SPECIAL on AELEMFAST,GVSV,GV
between 5.14 and 5.16 pp_aelemfast changed from using OPf_SPECIAL to using op type to distinguish between a lexical or glob arg, but op_dump() hadn't been updated to reflect this. Also, GVSV and GV never used the OPf_SPECIAL flag, so testing for it with those ops was wrong (but currently harmless).
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dump.c b/dump.c
index bda492800c..5dbb96da38 100644
--- a/dump.c
+++ b/dump.c
@@ -1073,7 +1073,6 @@ S_do_op_dump_bar(pTHX_ I32 level, UV bar, PerlIO *file, const OP *o)
S_opdump_indent(aTHX_ o, level, bar, file,
"PADIX = %" IVdf "\n", (IV)cPADOPo->op_padix);
#else
- if ( ! (o->op_flags & OPf_SPECIAL)) { /* not lexical */
if (cSVOPo->op_sv) {
STRLEN len;
const char * name;
@@ -1087,7 +1086,6 @@ S_do_op_dump_bar(pTHX_ I32 level, UV bar, PerlIO *file, const OP *o)
}
else
S_opdump_indent(aTHX_ o, level, bar, file, "GV = NULL\n");
- }
#endif
break;