| Index: src/scopes.cc
|
| diff --git a/src/scopes.cc b/src/scopes.cc
|
| index e810d98800dd060a9661e2d3b419a2c03a591712..5a9169547e4fedfec3bf2cc3c07f21cc8a6da5a3 100644
|
| --- a/src/scopes.cc
|
| +++ b/src/scopes.cc
|
| @@ -267,9 +267,8 @@ bool Scope::Analyze(CompilationInfo* info) {
|
|
|
| // Allocate the variables.
|
| {
|
| - // Passing NULL as AstValueFactory is ok, because AllocateVariables doesn't
|
| - // need to create new strings or values.
|
| - AstNodeFactory<AstNullVisitor> ast_node_factory(info->zone(), NULL);
|
| + 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;
|
| }
|
|
|
|
|