Chromium Code Reviews| Index: src/compiler.cc |
| diff --git a/src/compiler.cc b/src/compiler.cc |
| index 2c055a32929df7bb6a1c864ad709fb31d568efeb..2b357b46814641e473f8b77c19a99d92678d3e42 100644 |
| --- a/src/compiler.cc |
| +++ b/src/compiler.cc |
| @@ -746,7 +746,9 @@ void CodeGenSelector::VisitForInStatement(ForInStatement* stmt) { |
| void CodeGenSelector::VisitTryCatchStatement(TryCatchStatement* stmt) { |
| - BAILOUT("TryCatchStatement"); |
| + Visit(stmt->try_block()); |
| + CHECK_BAILOUT; |
| + Visit(stmt->catch_block()); |
| } |
| @@ -876,7 +878,7 @@ void CodeGenSelector::VisitArrayLiteral(ArrayLiteral* expr) { |
| void CodeGenSelector::VisitCatchExtensionObject(CatchExtensionObject* expr) { |
| - BAILOUT("CatchExtensionObject"); |
| + // Supported. |
|
Kevin Millikin (Chromium)
2009/12/17 14:36:16
It seems right to visit the subexpressions in a va
|
| } |
| @@ -926,7 +928,7 @@ void CodeGenSelector::VisitAssignment(Assignment* expr) { |
| void CodeGenSelector::VisitThrow(Throw* expr) { |
| - BAILOUT("Throw"); |
| + ProcessExpression(expr->exception(), Expression::kValue); |
| } |