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

Unified Diff: src/ast/scopes.h

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 | « 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 0b84d630b91325343c6f77dd29f3ae31f6e257c3..00f4b1dc8b26891b16d29672a371f4232e3af582 100644
--- a/src/ast/scopes.h
+++ b/src/ast/scopes.h
@@ -504,8 +504,6 @@ class Scope: public ZoneObject {
bool scope_calls_eval_ : 1;
// This scope uses "super" property ('super.foo').
bool scope_uses_super_property_ : 1;
- // This scope has a parameter called "arguments".
- bool has_arguments_parameter_ : 1;
// This scope's declarations might not be executed in order (e.g., switch).
bool scope_nonlinear_ : 1;
bool is_hidden_ : 1;
@@ -855,6 +853,8 @@ class DeclarationScope : public Scope {
bool asm_module_ : 1;
// This scope's outer context is an asm module.
bool asm_function_ : 1;
+ // This scope has a parameter called "arguments".
+ bool has_arguments_parameter_ : 1;
// Info about the parameter list of a function.
int arity_;
« 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