Reviewers: Christian Plesner Hansen, Message: Quick fix to make debug tests pass. I'll look into the real issue right now.
Description: Temporarily de-activate while-loops in the top-level compiler because it makes some debug tests fail. Please review this at http://codereview.chromium.org/371069 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/compiler.cc Index: src/compiler.cc =================================================================== --- src/compiler.cc (revision 3252) +++ src/compiler.cc (working copy) @@ -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 -~----------~----~----~----~------~----~------~--~---
