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"); |
} |