| Index: src/ic/ic-state.h
|
| diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h
|
| index b3c8f391ea31d493da6d04000b6202c22ff50355..316e1aa6debd29c72383f935ae53f7655079f7f5 100644
|
| --- a/src/ic/ic-state.h
|
| +++ b/src/ic/ic-state.h
|
| @@ -181,37 +181,6 @@ class CompareICState {
|
| Handle<Object> y);
|
| };
|
|
|
| -class LoadGlobalICState final BASE_EMBEDDED {
|
| - private:
|
| - class TypeofModeBits : public BitField<TypeofMode, 0, 1> {};
|
| - STATIC_ASSERT(static_cast<int>(INSIDE_TYPEOF) == 0);
|
| - const ExtraICState state_;
|
| -
|
| - public:
|
| - static const uint32_t kNextBitFieldOffset = TypeofModeBits::kNext;
|
| -
|
| - explicit LoadGlobalICState(ExtraICState extra_ic_state)
|
| - : state_(extra_ic_state) {}
|
| -
|
| - explicit LoadGlobalICState(TypeofMode typeof_mode)
|
| - : state_(TypeofModeBits::encode(typeof_mode)) {}
|
| -
|
| - ExtraICState GetExtraICState() const { return state_; }
|
| -
|
| - TypeofMode typeof_mode() const { return TypeofModeBits::decode(state_); }
|
| -
|
| - static TypeofMode GetTypeofMode(ExtraICState state) {
|
| - return LoadGlobalICState(state).typeof_mode();
|
| - }
|
| -
|
| - // For convenience, a statically declared encoding of typeof mode
|
| - // IC state.
|
| - static const ExtraICState kInsideTypeOfState = INSIDE_TYPEOF
|
| - << TypeofModeBits::kShift;
|
| - static const ExtraICState kNotInsideTypeOfState = NOT_INSIDE_TYPEOF
|
| - << TypeofModeBits::kShift;
|
| -};
|
| -
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|