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

Unified Diff: src/ast/scopes.cc

Issue 2265903003: Move has_arguments_parameter_ to DeclarationScope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: readd comment 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 | « src/ast/scopes.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/scopes.cc
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc
index 4290c5614325df663fdd3f4dc7c3cca75c5dcac5..99d0436517058357be72990830d92e427c34a083 100644
--- a/src/ast/scopes.cc
+++ b/src/ast/scopes.cc
@@ -178,6 +178,7 @@ void DeclarationScope::SetDefaults() {
has_simple_parameters_ = true;
asm_module_ = false;
asm_function_ = false;
+ has_arguments_parameter_ = false;
receiver_ = nullptr;
new_target_ = nullptr;
function_ = nullptr;
@@ -209,7 +210,6 @@ void Scope::SetDefaults() {
scope_calls_eval_ = false;
scope_uses_super_property_ = false;
- has_arguments_parameter_ = false;
scope_nonlinear_ = false;
is_hidden_ = false;
is_debug_evaluate_scope_ = false;
« no previous file with comments | « src/ast/scopes.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698