summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-24 09:36:05 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-24 09:36:05 +0000
commit3b719c58b6800b0db9786a0d03d9b07e39a8b70f (patch)
tree9b6687e504cbc034f0940871a229a1cafb94e826 /pp_hot.c
parent9f99c5dc9c8b58db8724fb606806e353cbf69d45 (diff)
downloadperl-3b719c58b6800b0db9786a0d03d9b07e39a8b70f.tar.gz
Split CXt_LOOP into CXt_LOOP_PLAIN and CXt_LOOP_FOR, eliminating the
CXp_FOREACH flag added as part of given/when. p4raw-id: //depot/perl@33057
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index f1bf9d4dd2..1348f3a6f5 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1907,7 +1907,7 @@ PP(pp_iter)
EXTEND(SP, 1);
cx = &cxstack[cxstack_ix];
- if (CxTYPE(cx) != CXt_LOOP)
+ if (!CxTYPE_is_LOOP(cx))
DIE(aTHX_ "panic: pp_iter");
itersvp = CxITERVAR(cx);