Index: src/scopes.cc |
diff --git a/src/scopes.cc b/src/scopes.cc |
index 51c00653c6165a6adc5832040bd27ab090467272..fd803b3e5281ed02abb692b7fa3d4bed94e94390 100644 |
--- a/src/scopes.cc |
+++ b/src/scopes.cc |
@@ -275,7 +275,8 @@ bool Scope::Analyze(CompilationInfo* info) { |
// Allocate the variables. |
{ |
- AstNodeFactory<AstNullVisitor> ast_node_factory(info->ast_value_factory()); |
+ AstNodeFactory<AstNullVisitor> ast_node_factory( |
+ info->zone(), info->ast_value_factory(), info->ast_node_id_gen()); |
if (!top->AllocateVariables(info, &ast_node_factory)) return false; |
} |