| Index: src/scopes.cc
|
| diff --git a/src/scopes.cc b/src/scopes.cc
|
| index 440c7f280b4820c2dd814a2f6187b4705e6de99a..de364a5b489050408dd04a32c308054566ae9fec 100644
|
| --- a/src/scopes.cc
|
| +++ b/src/scopes.cc
|
| @@ -1031,7 +1031,7 @@ bool Scope::ResolveVariable(CompilationInfo* info,
|
|
|
| // If the proxy is already resolved there's nothing to do
|
| // (functions and consts may be resolved by the parser).
|
| - if (proxy->var() != NULL) return true;
|
| + if (proxy->is_resolved()) return true;
|
|
|
| // Otherwise, try to resolve the variable.
|
| BindingKind binding_kind;
|
|
|