]> git.vpit.fr Git - perl/modules/autovivification.git/commit
Always skip seen ops in our peep replacement rt64435
authorVincent Pit <vince@profvince.com>
Tue, 4 Jan 2011 18:10:07 +0000 (19:10 +0100)
committerVincent Pit <vince@profvince.com>
Tue, 4 Jan 2011 18:11:37 +0000 (19:11 +0100)
commit6bc99454a8284978b14854642fac0123c77bac45
tree03f0add3f2437b2f8349c240fe7b292501169937
parent1740addb4cafa0e3bde5f257fd8d6ce00dfde2c3
Always skip seen ops in our peep replacement

Sometimes, there are loops in the next chain as e.g. with infinite loops
like "for (;;) { ... }". We can't reuse the op_opt member because it's
almost always set after the first pass.

This fixes RT #64435.
MANIFEST
autovivification.xs
t/43-peep.t [new file with mode: 0644]