| Index: src/ic/ic.h
|
| diff --git a/src/ic/ic.h b/src/ic/ic.h
|
| index 4f07e867d1518298a465e35992f26bafd5eef4b1..8bd2f447b8b5543c7aed6ca46c3bcf8e92e098e6 100644
|
| --- a/src/ic/ic.h
|
| +++ b/src/ic/ic.h
|
| @@ -112,7 +112,7 @@ class IC {
|
| }
|
|
|
| // Configure for most states.
|
| - void ConfigureVectorState(IC::State new_state);
|
| + void ConfigureVectorState(IC::State new_state, Handle<Object> key);
|
| // Configure the vector for MONOMORPHIC.
|
| void ConfigureVectorState(Handle<Name> name, Handle<Map> map,
|
| Handle<Code> handler);
|
| @@ -296,10 +296,6 @@ class CallIC : public IC {
|
|
|
| class LoadIC : public IC {
|
| public:
|
| - static ExtraICState ComputeExtraICState(TypeofMode typeof_mode) {
|
| - return LoadICState(typeof_mode).GetExtraICState();
|
| - }
|
| -
|
| TypeofMode typeof_mode() const {
|
| return LoadICState::GetTypeofMode(extra_ic_state());
|
| }
|
| @@ -364,20 +360,6 @@ class LoadIC : public IC {
|
|
|
| class KeyedLoadIC : public LoadIC {
|
| public:
|
| - // ExtraICState bits (building on IC)
|
| - class IcCheckTypeField
|
| - : public BitField<IcCheckType, LoadICState::kNextBitFieldOffset, 1> {};
|
| -
|
| - static ExtraICState ComputeExtraICState(TypeofMode typeof_mode,
|
| - IcCheckType key_type) {
|
| - return LoadICState(typeof_mode).GetExtraICState() |
|
| - IcCheckTypeField::encode(key_type);
|
| - }
|
| -
|
| - static IcCheckType GetKeyType(ExtraICState extra_state) {
|
| - return IcCheckTypeField::decode(extra_state);
|
| - }
|
| -
|
| KeyedLoadIC(FrameDepth depth, Isolate* isolate,
|
| KeyedLoadICNexus* nexus = NULL)
|
| : LoadIC(depth, isolate, nexus) {
|
|
|