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

Unified Diff: src/ast/scopes.h

Issue 2351673002: Drop declare_free parameter to LookupRecursive (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | src/ast/scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/scopes.h
diff --git a/src/ast/scopes.h b/src/ast/scopes.h
index 2df27c04188572b92f52c23567fd2e2aac68c31d..9bc1013d4d70d24a2f74d25f7fd99675fd396b5f 100644
--- a/src/ast/scopes.h
+++ b/src/ast/scopes.h
@@ -524,11 +524,7 @@ class Scope: public ZoneObject {
// scope, and stopping when reaching the outer_scope_end scope. If the code is
// executed because of a call to 'eval', the context parameter should be set
// to the calling context of 'eval'.
- // {declare_free} indicates whether nullptr should be returned for free
- // variables when falling off outer_scope_end, or whether they should be
- // declared automatically as non-locals.
- Variable* LookupRecursive(VariableProxy* proxy, bool declare_free,
- Scope* outer_scope_end);
+ Variable* LookupRecursive(VariableProxy* proxy, Scope* outer_scope_end);
void ResolveTo(ParseInfo* info, VariableProxy* proxy, Variable* var);
void ResolveVariable(ParseInfo* info, VariableProxy* proxy);
void ResolveVariablesRecursively(ParseInfo* info);
« no previous file with comments | « no previous file | src/ast/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698