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

Unified Diff: src/ast/scopes.h

Issue 2242783002: Don't use AstValueFactory in scope analysis. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removing leftover change Created 4 years, 4 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 f19517d062cb9da9fa0d9a6f98708981d78c2c74..3480b866baaffbd46fefa4270a7595e48cbacd88 100644
--- a/src/ast/scopes.h
+++ b/src/ast/scopes.h
@@ -604,13 +604,10 @@ class Scope: public ZoneObject {
// Variable allocation.
void AllocateStackSlot(Variable* var);
void AllocateHeapSlot(Variable* var);
- void AllocateNonParameterLocal(Variable* var,
- AstValueFactory* ast_value_factory);
- void AllocateDeclaredGlobal(Variable* var,
- AstValueFactory* ast_value_factory);
- void AllocateNonParameterLocalsAndDeclaredGlobals(
- AstValueFactory* ast_value_factory);
- void AllocateVariablesRecursively(AstValueFactory* ast_value_factory);
+ void AllocateNonParameterLocal(Variable* var);
+ void AllocateDeclaredGlobal(Variable* var);
+ void AllocateNonParameterLocalsAndDeclaredGlobals();
+ void AllocateVariablesRecursively();
// Construct a scope based on the scope info.
Scope(Zone* zone, Scope* inner_scope, ScopeType type,
@@ -848,7 +845,7 @@ class DeclarationScope : public Scope {
void PrintParameters();
#endif
- void AllocateLocals(AstValueFactory* ast_value_factory);
+ void AllocateLocals();
void AllocateParameterLocals();
void AllocateReceiver();
// Set MODULE as VariableLocation for all variables that will live in some
« 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