| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 37e903aac9c1e9a249718f61351800e3edc9464f..d5c9e0f4b5b2cc6cd9baf421ca30d504bea00b1d 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -2825,7 +2825,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());
|
| @@ -2838,11 +2838,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());
|
| }
|
|
|