Index: src/ic/ic-state.h |
diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h |
index 6888a7ab5c9c19d5a75303974e0c937773e41892..bc5853b698e874815ce3abaf105bcc0337e9c108 100644 |
--- a/src/ic/ic-state.h |
+++ b/src/ic/ic-state.h |
@@ -258,7 +258,7 @@ class StoreICState final BASE_EMBEDDED { |
} |
class LanguageModeState : public BitField<LanguageMode, 1, 1> {}; |
- STATIC_ASSERT(i::LANGUAGE_END == 2); |
+ STATIC_ASSERT(i::LAST_LANGUAGE_MODE == 1); |
// For convenience, a statically declared encoding of strict mode extra |
// IC state. |