As itersave points to the initial CxITERVAR(), and the state of
authorNicholas Clark <nick@ccl4.org>
Sat, 26 Jan 2008 16:03:03 +0000 (16:03 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 26 Jan 2008 16:03:03 +0000 (16:03 +0000)
commitd28d780685cbd952928da9c691e2b5bae129457a
tree316de049483c61cc8ada459d5e6b6462fbd1f77d
parent9a98d8a1ee5dd7f1caa95f2ec5ab0341e0b4f8d1
As itersave points to the initial CxITERVAR(), and the state of
SvPADMY() does not change over the duration of the scope, we can
perform conditional actions at loop push time. For the non-pad case,
a reference to the initial CxITERVAR() is already held on the scope
stack thanks to SAVEGENERICSV(*svp); in pp_enteriter. So there is no
need to save another reference to it in itersave - it's not going away.

p4raw-id: //depot/perl@33076
cop.h