| Index: src/ast/scopes.cc
|
| diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc
|
| index 9bda46106e19e9b274433979c752d26be379964d..ea5357dda2d6d28c9cb1e4163fdce7906bc88aec 100644
|
| --- a/src/ast/scopes.cc
|
| +++ b/src/ast/scopes.cc
|
| @@ -956,15 +956,13 @@ Variable* Scope::DeclareVariable(
|
|
|
| VariableProxy* Scope::NewUnresolved(AstNodeFactory* factory,
|
| const AstRawString* name,
|
| - int start_position, int end_position,
|
| - VariableKind kind) {
|
| + 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(!needs_migration_, factory->zone() == zone());
|
| - VariableProxy* proxy =
|
| - factory->NewVariableProxy(name, kind, start_position, end_position);
|
| + VariableProxy* proxy = factory->NewVariableProxy(name, kind, start_position);
|
| proxy->set_next_unresolved(unresolved_);
|
| unresolved_ = proxy;
|
| return proxy;
|
|
|