Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 86b781e20a5486957139f378b2976ed025c5c4b1..42941d88abcfcf2bb948ca57959fcf4b6e59b9fa 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -420,7 +420,7 @@ void FullCodeGenerator::PopulateTypeFeedbackInfo(Handle<Code> code) { |
void FullCodeGenerator::Initialize() { |
- InitializeAstVisitor(info_->zone()); |
+ InitializeAstVisitor(info_->isolate(), info_->zone()); |
// The generation of debug code must match between the snapshot code and the |
// code that is generated later. This is assumed by the debugger when it is |
// calculating PC offsets after generating a debug version of code. Therefore |
@@ -837,7 +837,7 @@ void FullCodeGenerator::SetStatementPosition(Statement* stmt) { |
} else { |
// Check if the statement will be breakable without adding a debug break |
// slot. |
- BreakableStatementChecker checker(zone()); |
+ BreakableStatementChecker checker(info_->isolate(), zone()); |
checker.Check(stmt); |
// Record the statement position right here if the statement is not |
// breakable. For breakable statements the actual recording of the |
@@ -864,7 +864,7 @@ void FullCodeGenerator::SetExpressionPosition(Expression* expr) { |
} else { |
// Check if the expression will be breakable without adding a debug break |
// slot. |
- BreakableStatementChecker checker(zone()); |
+ BreakableStatementChecker checker(info_->isolate(), zone()); |
checker.Check(expr); |
// Record a statement position right here if the expression is not |
// breakable. For breakable expressions the actual recording of the |