| Index: src/ast/scopes.h
|
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
|
| index a3de1e29b8982b32d57c28505f1764aa7f3f2384..be4a9c0a25f851d66911928ae77f5107b7289359 100644
|
| --- a/src/ast/scopes.h
|
| +++ b/src/ast/scopes.h
|
| @@ -374,6 +374,9 @@ class Scope: public ZoneObject {
|
| // Find the module scope, assuming there is one.
|
| ModuleScope* GetModuleScope();
|
|
|
| + // Find the innermost outer scope that needs a context.
|
| + Scope* GetOuterScopeWithContext();
|
| +
|
| // Analyze() must have been called once to create the ScopeInfo.
|
| Handle<ScopeInfo> scope_info() {
|
| DCHECK(!scope_info_.is_null());
|
|
|