| Index: src/ast/scopes.cc
|
| diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc
|
| index 2f42e3ff884c019c3b45e365f610cb92c46d4e7b..de971e9b729f44abe8bcef926a0708a5919b81f4 100644
|
| --- a/src/ast/scopes.cc
|
| +++ b/src/ast/scopes.cc
|
| @@ -180,7 +180,6 @@ void Scope::SetDefaults() {
|
| this_function_ = nullptr;
|
| scope_inside_with_ = false;
|
| scope_calls_eval_ = false;
|
| - scope_uses_arguments_ = false;
|
| has_arguments_parameter_ = false;
|
| scope_uses_super_property_ = false;
|
| asm_module_ = false;
|
| @@ -384,7 +383,6 @@ void Scope::PropagateUsageFlagsToScope(Scope* other) {
|
| DCHECK_NOT_NULL(other);
|
| DCHECK(!already_resolved());
|
| DCHECK(!other->already_resolved());
|
| - if (uses_arguments()) other->RecordArgumentsUsage();
|
| if (uses_super_property()) other->RecordSuperPropertyUsage();
|
| if (calls_eval()) other->RecordEvalCall();
|
| }
|
| @@ -985,7 +983,6 @@ void Scope::Print(int n) {
|
| if (asm_function_) Indent(n1, "// scope is an asm function\n");
|
| if (scope_inside_with_) Indent(n1, "// scope inside 'with'\n");
|
| if (scope_calls_eval_) Indent(n1, "// scope calls 'eval'\n");
|
| - if (scope_uses_arguments_) Indent(n1, "// scope uses 'arguments'\n");
|
| if (scope_uses_super_property_)
|
| Indent(n1, "// scope uses 'super' property\n");
|
| if (outer_scope_calls_sloppy_eval_) {
|
|
|