| Index: src/ast/scopes.cc
|
| diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc
|
| index eb92cefb98f055f12081c00611624944e361c26a..18b21f97e340ad5f880942c619f91b7e52531c7f 100644
|
| --- a/src/ast/scopes.cc
|
| +++ b/src/ast/scopes.cc
|
| @@ -712,7 +712,8 @@ Variable* Scope::DeclareLocal(const AstRawString* name, VariableMode mode,
|
| Variable* DeclarationScope::DeclareDynamicGlobal(const AstRawString* name,
|
| Variable::Kind kind) {
|
| DCHECK(is_script_scope());
|
| - return Declare(zone(), this, name, DYNAMIC_GLOBAL, kind, kCreatedInitialized);
|
| + return variables_.Declare(zone(), this, name, DYNAMIC_GLOBAL, kind,
|
| + kCreatedInitialized);
|
| }
|
|
|
|
|
|
|