Revision: 3253
Author: [email protected]
Date: Mon Nov  9 07:31:15 2009
Log: Temporarily de-activate while-loops in the top-level compiler because
it makes some debug tests fail.

[email protected]
Review URL: http://codereview.chromium.org/371069
http://code.google.com/p/v8/source/detail?r=3253

Modified:
  /branches/bleeding_edge/src/compiler.cc

=======================================
--- /branches/bleeding_edge/src/compiler.cc     Mon Nov  9 05:30:35 2009
+++ /branches/bleeding_edge/src/compiler.cc     Mon Nov  9 07:31:15 2009
@@ -708,20 +708,12 @@


  void CodeGenSelector::VisitDoWhileStatement(DoWhileStatement* stmt) {
-  // We do not handle loops with breaks or continue statements in their
-  // body.  We will bailout when we hit those statements in the body.
-  ProcessExpression(stmt->cond(), Expression::kTest);
-  CHECK_BAILOUT;
-  Visit(stmt->body());
+  BAILOUT("DoWhileStatement");
  }


  void CodeGenSelector::VisitWhileStatement(WhileStatement* stmt) {
-  // We do not handle loops with breaks or continue statements in their
-  // body.  We will bailout when we hit those statements in the body.
-  ProcessExpression(stmt->cond(), Expression::kTest);
-  CHECK_BAILOUT;
-  Visit(stmt->body());
+  BAILOUT("WhileStatement");
  }



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to