Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 518cef15fbad7926d957090b79dc52ef8247358e..bafcd2d87f7bcb2559144a597daf9d6b1fbea3ae 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -172,10 +172,10 @@ VariableProxy::VariableProxy(Variable* var, int start_position, |
} |
VariableProxy::VariableProxy(const AstRawString* name, |
- Variable::Kind variable_kind, int start_position, |
+ VariableKind variable_kind, int start_position, |
int end_position) |
: Expression(start_position, kVariableProxy), |
- bit_field_(IsThisField::encode(variable_kind == Variable::THIS) | |
+ bit_field_(IsThisField::encode(variable_kind == THIS_VARIABLE) | |
IsAssignedField::encode(false) | |
IsResolvedField::encode(false)), |
end_position_(end_position), |