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

Unified Diff: src/variables.cc

Issue 943543002: [strong] Declaration-after-use errors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: more fixes + tests Created 5 years, 10 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
Index: src/variables.cc
diff --git a/src/variables.cc b/src/variables.cc
index 2351e529a24c8c1bd19c6cc47351df3e3f6ab06c..99756ac3c0d9f0397a661c9e908d3e24e7f15e4b 100644
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -33,12 +33,13 @@ const char* Variable::Mode2String(VariableMode mode) {
Variable::Variable(Scope* scope, const AstRawString* name, VariableMode mode,
bool is_valid_ref, Kind kind,
- InitializationFlag initialization_flag,
+ InitializationFlag initialization_flag, int position,
MaybeAssignedFlag maybe_assigned_flag)
: scope_(scope),
name_(name),
mode_(mode),
kind_(kind),
+ position_(position),
location_(UNALLOCATED),
index_(-1),
initializer_position_(RelocInfo::kNoPosition),

Powered by Google App Engine
This is Rietveld 408576698