Chromium Code Reviews| Index: src/compiler.cc |
| =================================================================== |
| --- src/compiler.cc (revision 3187) |
| +++ src/compiler.cc (working copy) |
| @@ -538,7 +538,11 @@ |
| void CodeGenSelector::VisitIfStatement(IfStatement* stmt) { |
| - BAILOUT("IfStatement"); |
| + ProcessExpression(stmt->condition(), Expression::kTest); |
| + CHECK_BAILOUT; |
| + Visit(stmt->then_statement()); |
| + CHECK_BAILOUT; |
| + Visit(stmt->else_statement()); |
| } |