Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 147f5624f29b90cec19bb05d41047875ac15adeb..d795b3ce166ae54af87e623553386faf888cc25f 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2095,7 +2095,7 @@ Variable* Parser::Declare(Declaration* declaration, |
// TODO(sigurds) figure out if kNotAssigned is OK here |
var = new (zone()) Variable(declaration_scope, name, mode, kind, |
declaration->initialization(), kNotAssigned); |
- var->AllocateTo(Variable::LOOKUP, -1); |
+ var->AllocateTo(VariableLocation::LOOKUP, -1); |
resolve = true; |
} |