| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index 8846107acf8e90db9e631ca24347f3d5c5d60d57..f6a36f5dc1b9aa8644677bf58861d431cb3783c1 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -415,7 +415,7 @@ void FullCodeGenerator::Initialize() {
|
| !Snapshot::HaveASnapshotToStartFrom();
|
| masm_->set_emit_debug_code(generate_debug_code_);
|
| masm_->set_predictable_code_size(true);
|
| - InitializeAstVisitor();
|
| + InitializeAstVisitor(info_->isolate());
|
| }
|
|
|
|
|
| @@ -830,7 +830,7 @@ void FullCodeGenerator::SetStatementPosition(Statement* stmt) {
|
| } else {
|
| // Check if the statement will be breakable without adding a debug break
|
| // slot.
|
| - BreakableStatementChecker checker;
|
| + BreakableStatementChecker checker(isolate());
|
| checker.Check(stmt);
|
| // Record the statement position right here if the statement is not
|
| // breakable. For breakable statements the actual recording of the
|
| @@ -856,7 +856,7 @@ void FullCodeGenerator::SetExpressionPosition(Expression* expr, int pos) {
|
| } else {
|
| // Check if the expression will be breakable without adding a debug break
|
| // slot.
|
| - BreakableStatementChecker checker;
|
| + BreakableStatementChecker checker(isolate());
|
| checker.Check(expr);
|
| // Record a statement position right here if the expression is not
|
| // breakable. For breakable expressions the actual recording of the
|
|
|