summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-24 10:44:25 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-24 10:44:25 +0000
commita28356daf92caa7f638e39190a3f2c5a3cd8acfe (patch)
tree5083feb034f3d90f3b53f7d28d883bbe0296a06e /sv.c
parent4b70616db4b88e90e04bbf6a612b803f6a4d8dc1 (diff)
downloadperl-a28356daf92caa7f638e39190a3f2c5a3cd8acfe.tar.gz
Split out foreach iterations of temporary lists on the stack to
CXt_LOOP_STACK. Don't use cx->blk_loop.iterary to store PL_curstack. p4raw-id: //depot/perl@33059
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index e30140c59f..1feaa3e9dc 100644
--- a/sv.c
+++ b/sv.c
@@ -10545,6 +10545,7 @@ Perl_cx_dup(pTHX_ PERL_CONTEXT *cxs, I32 ix, I32 max, CLONE_PARAMS* param)
case CXt_LOOP_FOR:
ncx->blk_loop.iterary = av_dup_inc(ncx->blk_loop.iterary,
param);
+ case CXt_LOOP_STACK:
case CXt_LOOP_PLAIN:
ncx->blk_loop.iterdata = (CxPADLOOP(ncx)
? ncx->blk_loop.iterdata