Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 8b1451e910174815f63785bad596d119560f5885..d01931d87741f5eacebbe776fc94d284bf580bd1 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -454,7 +454,7 @@ class Parser : public ParserBase<Parser> { |
VariableProxy* NewUnresolved(const AstRawString* name, int begin_pos, |
int end_pos = kNoSourcePosition, |
- Variable::Kind kind = Variable::NORMAL); |
+ VariableKind kind = NORMAL_VARIABLE); |
VariableProxy* NewUnresolved(const AstRawString* name); |
Variable* Declare(Declaration* declaration, |
DeclarationDescriptor::Kind declaration_kind, |
@@ -896,7 +896,7 @@ class Parser : public ParserBase<Parser> { |
V8_INLINE Expression* ThisExpression(int pos = kNoSourcePosition) { |
return NewUnresolved(ast_value_factory()->this_string(), pos, pos + 4, |
- Variable::THIS); |
+ THIS_VARIABLE); |
} |
Expression* NewSuperPropertyReference(int pos); |