| Index: src/ast/scopes.cc
|
| diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc
|
| index 8b7e1bf95e06e6a8c4a60109f0893eb395bb0f25..536c098c17ed276d49e1c9c1a69a2580fc053e5a 100644
|
| --- a/src/ast/scopes.cc
|
| +++ b/src/ast/scopes.cc
|
| @@ -1233,20 +1233,6 @@ Variable* Scope::DeclareVariableName(const AstRawString* name,
|
| }
|
| }
|
|
|
| -VariableProxy* Scope::NewUnresolved(AstNodeFactory* factory,
|
| - const AstRawString* name,
|
| - int start_position, VariableKind kind) {
|
| - // Note that we must not share the unresolved variables with
|
| - // the same name because they may be removed selectively via
|
| - // RemoveUnresolved().
|
| - DCHECK(!already_resolved_);
|
| - DCHECK_EQ(factory->zone(), zone());
|
| - VariableProxy* proxy = factory->NewVariableProxy(name, kind, start_position);
|
| - proxy->set_next_unresolved(unresolved_);
|
| - unresolved_ = proxy;
|
| - return proxy;
|
| -}
|
| -
|
| void Scope::AddUnresolved(VariableProxy* proxy) {
|
| DCHECK(!already_resolved_);
|
| DCHECK(!proxy->is_resolved());
|
|
|