| Index: src/ast/scopes.h
|
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
|
| index 44797525ca5153c7f96c9387ff22e33deba30717..774dad01c5e8096f69d969761728865bc1934eab 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());
|
|
|