Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index f9d3fdefd0ff50581cbb47b03f92ee3e311cf6fc..c5fcd6e7d2324f2ddab8225262d0f569c3458820 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -342,8 +342,9 @@ |
int StackLocalCount() const; |
int ContextLocalCount() const; |
- // Determine if we can parse a function literal in this scope lazily. |
- bool AllowsLazyParsing() const; |
+ // Determine if we can parse a function literal in this scope lazily without |
+ // caring about the unresolved variables within. |
+ bool AllowsLazyParsingWithoutUnresolvedVariables() const; |
// The number of contexts between this and scope; zero if this == scope. |
int ContextChainLength(Scope* scope) const; |
@@ -538,6 +539,7 @@ |
// list along the way, so full resolution cannot be done afterwards. |
// If a ParseInfo* is passed, non-free variables will be resolved. |
VariableProxy* FetchFreeVariables(DeclarationScope* max_outer_scope, |
+ bool try_to_resolve = true, |
ParseInfo* info = nullptr, |
VariableProxy* stack = nullptr); |