Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index c5fcd6e7d2324f2ddab8225262d0f569c3458820..f9d3fdefd0ff50581cbb47b03f92ee3e311cf6fc 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -342,9 +342,8 @@ |
int StackLocalCount() const; |
int ContextLocalCount() const; |
- // Determine if we can parse a function literal in this scope lazily without |
- // caring about the unresolved variables within. |
- bool AllowsLazyParsingWithoutUnresolvedVariables() const; |
+ // Determine if we can parse a function literal in this scope lazily. |
+ bool AllowsLazyParsing() const; |
// The number of contexts between this and scope; zero if this == scope. |
int ContextChainLength(Scope* scope) const; |
@@ -539,7 +538,6 @@ |
// 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); |