Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 5000) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -1645,6 +1645,9 @@ |
Visit(node->init()); |
JumpTarget loop(JumpTarget::BIDIRECTIONAL); |
+ // Set type and stack height of BreakTargets. |
+ node->continue_target()->set_direction(JumpTarget::FORWARD_ONLY); |
+ node->break_target()->set_direction(JumpTarget::FORWARD_ONLY); |
IncrementLoopNesting(); |
loop.Bind(); |