Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 72d04a594664b4101742012977c17d4d23a5a2a3..ef52aed77afa0c290c740f4deeba2e1f070fa1bd 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -496,7 +496,7 @@ class Scope: public ZoneObject { |
// Scope-specific information computed during parsing. |
// |
// The language mode of this scope. |
- STATIC_ASSERT(LANGUAGE_END == 2); |
+ STATIC_ASSERT(LAST_LANGUAGE_MODE == 1); |
LanguageMode language_mode_ : 1; |
// This scope is inside a 'with' of some outer scope. |
bool scope_inside_with_ : 1; |