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