Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index 5f66e88bf022481e71760e435b88a50f1689a361..6ef601b7b348c062cde84c55871ea3da0832e240 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -520,8 +520,8 @@ class KeyedLoadIC : public LoadIC { |
class StoreIC : public IC { |
public: |
- STATIC_ASSERT(i::LANGUAGE_END == 2); |
- class LanguageModeState : public BitField<LanguageMode, 1, 1> {}; |
+ STATIC_ASSERT(i::LANGUAGE_END == 3); |
+ class LanguageModeState : public BitField<LanguageMode, 1, 2> {}; |
static ExtraICState ComputeExtraICState(LanguageMode flag) { |
return LanguageModeState::encode(flag); |
} |
@@ -605,10 +605,12 @@ class KeyedStoreIC : public StoreIC { |
public: |
// ExtraICState bits (building on IC) |
// ExtraICState bits |
+ // When more language modes are added, these BitFields need to move too. |
+ STATIC_ASSERT(i::LANGUAGE_END == 3); |
class ExtraICStateKeyedAccessStoreMode |
- : public BitField<KeyedAccessStoreMode, 2, 4> {}; // NOLINT |
+ : public BitField<KeyedAccessStoreMode, 3, 4> {}; // NOLINT |
- class IcCheckTypeField : public BitField<IcCheckType, 6, 1> {}; |
+ class IcCheckTypeField : public BitField<IcCheckType, 7, 1> {}; |
static ExtraICState ComputeExtraICState(LanguageMode flag, |
KeyedAccessStoreMode mode) { |