| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index dd81ab4b211a6c2a115c27d2abc3c36371f01d3e..0cc6aa461354612ae774a6960537f5e9af465c04 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -97,8 +97,6 @@ class IC {
|
| Code* target() const { return GetTargetAtAddress(address()); }
|
| inline Address address() const;
|
|
|
| - virtual bool IsGeneric() const { return false; }
|
| -
|
| // Compute the current IC state based on the target stub, receiver and name.
|
| static State StateFrom(Code* target, Object* receiver, Object* name);
|
|
|
| @@ -519,10 +517,6 @@ class KeyedLoadIC: public KeyedIC {
|
| ElementsKind elements_kind,
|
| KeyedAccessGrowMode grow_mode);
|
|
|
| - virtual bool IsGeneric() const {
|
| - return target() == *generic_stub();
|
| - }
|
| -
|
| protected:
|
| virtual Code::Kind kind() const { return Code::KEYED_LOAD_IC; }
|
|
|
| @@ -680,11 +674,6 @@ class KeyedStoreIC: public KeyedIC {
|
| ElementsKind elements_kind,
|
| KeyedAccessGrowMode grow_mode);
|
|
|
| - virtual bool IsGeneric() const {
|
| - return target() == *generic_stub() ||
|
| - target() == *generic_stub_strict();
|
| - }
|
| -
|
| protected:
|
| virtual Code::Kind kind() const { return Code::KEYED_STORE_IC; }
|
|
|
|
|