class LoadICState final BASE_EMBEDDED {
private:
class ContextualModeBits : public BitField<ContextualMode, 0, 1> {};
- class LanguageModeBits : public BitField<LanguageMode, 1, 2> {};
+ class LanguageModeBits
+ : public BitField<LanguageMode, ContextualModeBits::kNext, 2> {};
STATIC_ASSERT(static_cast<int>(NOT_CONTEXTUAL) == 0);
const ExtraICState state_;
public:
+ static const uint32_t kNextBitFieldOffset = LanguageModeBits::kNext;
+
static const ExtraICState kStrongModeState = STRONG
<< LanguageModeBits::kShift;
class KeyedLoadIC : public LoadIC {
public:
// ExtraICState bits (building on IC)
- class IcCheckTypeField : public BitField<IcCheckType, 2, 1> {};
+ class IcCheckTypeField
+ : public BitField<IcCheckType, LoadICState::kNextBitFieldOffset, 1> {};
static ExtraICState ComputeExtraICState(ContextualMode contextual_mode,
LanguageMode language_mode,