Index: src/ast/variables.cc |
diff --git a/src/ast/variables.cc b/src/ast/variables.cc |
index 9048f7936f7a2ac2a29e6c4c7082b33cc071f255..f80822d1a6622ff244253cfbfd8becc5122a2335 100644 |
--- a/src/ast/variables.cc |
+++ b/src/ast/variables.cc |
@@ -6,6 +6,7 @@ |
#include "src/ast/ast.h" |
#include "src/ast/scopes.h" |
+#include "src/globals.h" |
namespace v8 { |
namespace internal { |
@@ -28,7 +29,6 @@ const char* Variable::Mode2String(VariableMode mode) { |
return NULL; |
} |
- |
Variable::Variable(Scope* scope, const AstRawString* name, VariableMode mode, |
Kind kind, InitializationFlag initialization_flag, |
MaybeAssignedFlag maybe_assigned_flag) |
@@ -38,7 +38,7 @@ Variable::Variable(Scope* scope, const AstRawString* name, VariableMode mode, |
kind_(kind), |
location_(VariableLocation::UNALLOCATED), |
index_(-1), |
- initializer_position_(RelocInfo::kNoPosition), |
+ initializer_position_(kNoSourcePosition), |
local_if_not_shadowed_(NULL), |
force_context_allocation_(false), |
is_used_(false), |