Reviewers: Lasse Reichstein,
Message:
[email protected]
Description:
Fix problem in r4998. Initialize target of break and continue in fast smi
loop
on X64.
Please review this at http://codereview.chromium.org/2830033/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/x64/codegen-x64.cc
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();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev