Revision: 5001
Author: [email protected]
Date: Thu Jul 1 09:00:51 2010
Log: Fix problem in r4998. Initialize target of break and continue in fast
smi loop on X64.
Review URL: http://codereview.chromium.org/2830033
http://code.google.com/p/v8/source/detail?r=5001
Modified:
/branches/bleeding_edge/src/x64/codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/codegen-x64.cc Thu Jul 1 08:18:07 2010
+++ /branches/bleeding_edge/src/x64/codegen-x64.cc Thu Jul 1 09:00:51 2010
@@ -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