Chromium Code Reviews| Index: src/compiler.cc |
| =================================================================== |
| --- src/compiler.cc (revision 3310) |
| +++ src/compiler.cc (working copy) |
| @@ -754,7 +754,12 @@ |
| void CodeGenSelector::VisitTryFinallyStatement(TryFinallyStatement* stmt) { |
| - BAILOUT("TryFinallyStatement"); |
| + if (stmt->escaping_targets()->length() > 0) { |
| + BAILOUT("TryFinallyStatement has break or continue leaving try block."); |
| + } |
| + Visit(stmt->try_block()); |
| + CHECK_BAILOUT; |
| + Visit(stmt->finally_block()); |
| } |