Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Unified Diff: src/ast/scopes.h

Issue 2358503002: Change the CompilerDispatcherJob to take a SharedFunctionInfo (Closed)
Patch Set: updates Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698