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

Unified Diff: src/ast/variables.cc

Issue 2253513002: Better pack fields in Variable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/variables.h ('k') | src/globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/variables.cc
diff --git a/src/ast/variables.cc b/src/ast/variables.cc
index 9856be7daaff907f159cde32558827caa10c5772..1eb5517693c99cba40b7a3f72d70f2be3dc5dc09 100644
--- a/src/ast/variables.cc
+++ b/src/ast/variables.cc
@@ -34,12 +34,12 @@ Variable::Variable(Scope* scope, const AstRawString* name, VariableMode mode,
MaybeAssignedFlag maybe_assigned_flag)
: scope_(scope),
name_(name),
+ local_if_not_shadowed_(nullptr),
+ index_(-1),
+ initializer_position_(kNoSourcePosition),
mode_(mode),
kind_(kind),
location_(VariableLocation::UNALLOCATED),
- index_(-1),
- initializer_position_(kNoSourcePosition),
- local_if_not_shadowed_(NULL),
force_context_allocation_(false),
is_used_(false),
initialization_flag_(initialization_flag),
« no previous file with comments | « src/ast/variables.h ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698