Index: test/unittests/compiler/js-typed-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-typed-lowering-unittest.cc b/test/unittests/compiler/js-typed-lowering-unittest.cc |
index 6b418d706d99e21ac50210f27f6fae2c31b9cd2d..a8eafa53182f0e78d48499483f551bd35d8b04d7 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -65,7 +65,7 @@ const double kIntegerValues[] = {-V8_INFINITY, INT_MIN, -1000.0, -42.0, |
Type* const kJSTypes[] = {Type::Undefined(), Type::Null(), Type::Boolean(), |
Type::Number(), Type::String(), Type::Object()}; |
-STATIC_ASSERT(LANGUAGE_END == 2); |
+STATIC_ASSERT(LAST_LANGUAGE_MODE == 1); |
const LanguageMode kLanguageModes[] = {SLOPPY, STRICT}; |
} // namespace |