summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-10-11 14:05:29 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-10-11 23:07:35 -0700
commit266d9182a2c7501b6d5686442b9273ed85be5e6f (patch)
treea6529effb7b596ab88d2e355b851bc3b04cab2b7 /op.c
parent1754320d025df69f39aefec8568947369f4b13cb (diff)
downloadperl-266d9182a2c7501b6d5686442b9273ed85be5e6f.tar.gz
Remove PMf_MAYBE_CONST
It was added in ce862d02d but has never been used.
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/op.c b/op.c
index 65fb45799a..0240349517 100644
--- a/op.c
+++ b/op.c
@@ -4808,9 +4808,6 @@ Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg, I32 floor)
op_prepend_elem(o->op_type, scalar(repl), o);
}
else {
- if (curop == repl && !PM_GETRE(pm)) { /* Has variables. */
- pm->op_pmflags |= PMf_MAYBE_CONST;
- }
NewOp(1101, rcop, 1, LOGOP);
rcop->op_type = OP_SUBSTCONT;
rcop->op_ppaddr = PL_ppaddr[OP_SUBSTCONT];