| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 51326793f456ba5a7eba7d653807b8d1b91ff4ff..cc6eda484eaf4aa6daaf85e317b17d9e167452e2 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -2547,7 +2547,7 @@ TryStatement* Parser::ParseTryStatement(bool* ok) {
|
| ASSERT(catch_scope != NULL && catch_variable != NULL);
|
| int index = current_function_state_->NextHandlerIndex();
|
| TryCatchStatement* statement = factory()->NewTryCatchStatement(
|
| - index, try_block, catch_scope, catch_variable, catch_block);
|
| + isolate(), index, try_block, catch_scope, catch_variable, catch_block);
|
| statement->set_escaping_targets(try_collector.targets());
|
| try_block = factory()->NewBlock(NULL, 1, false);
|
| try_block->AddStatement(statement, zone());
|
| @@ -2560,11 +2560,12 @@ TryStatement* Parser::ParseTryStatement(bool* ok) {
|
| ASSERT(catch_scope != NULL && catch_variable != NULL);
|
| int index = current_function_state_->NextHandlerIndex();
|
| result = factory()->NewTryCatchStatement(
|
| - index, try_block, catch_scope, catch_variable, catch_block);
|
| + isolate(), index, try_block, catch_scope, catch_variable, catch_block);
|
| } else {
|
| ASSERT(finally_block != NULL);
|
| int index = current_function_state_->NextHandlerIndex();
|
| - result = factory()->NewTryFinallyStatement(index, try_block, finally_block);
|
| + result = factory()->NewTryFinallyStatement(isolate(), index, try_block,
|
| + finally_block);
|
| // Combine the jump targets of the try block and the possible catch block.
|
| try_collector.targets()->AddAll(*catch_collector.targets(), zone());
|
| }
|
|
|