| Index: src/ast/scopes.h
|
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
|
| index 8a84664c18ec44d657ebc85db9208c98d3b66c5f..7dbf222f6b79662ca1a784e90fb33ca850090d79 100644
|
| --- a/src/ast/scopes.h
|
| +++ b/src/ast/scopes.h
|
| @@ -384,10 +384,7 @@ class Scope: public ZoneObject {
|
| // 'this' is bound, and what determines the function kind.
|
| DeclarationScope* GetReceiverScope();
|
|
|
| - // Creates a scope info if it doesn't already exist.
|
| - Handle<ScopeInfo> GetScopeInfo(Isolate* isolate);
|
| -
|
| - // GetScopeInfo() must have been called once to create the ScopeInfo.
|
| + // Analyze() must have been called once to create the ScopeInfo.
|
| Handle<ScopeInfo> scope_info() {
|
| DCHECK(!scope_info_.is_null());
|
| return scope_info_;
|
| @@ -548,6 +545,8 @@ class Scope: public ZoneObject {
|
| void AllocateNonParameterLocalsAndDeclaredGlobals();
|
| void AllocateVariablesRecursively();
|
|
|
| + void AllocateScopeInfosRecursively(ParseInfo* info);
|
| +
|
| // Construct a scope based on the scope info.
|
| Scope(Zone* zone, ScopeType type, Handle<ScopeInfo> scope_info);
|
|
|
|
|