| 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
|
|
|