| Index: src/crankshaft/hydrogen-instructions.h
|
| diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
|
| index 9aceb0ebaf4e83e55b450fe0469e84cc9000dc1c..02bc4c9210d107ef5b754b4f389b8e9dca28f610 100644
|
| --- a/src/crankshaft/hydrogen-instructions.h
|
| +++ b/src/crankshaft/hydrogen-instructions.h
|
| @@ -91,9 +91,7 @@ class SmallMapList;
|
| V(ForceRepresentation) \
|
| V(ForInCacheArray) \
|
| V(ForInPrepareMap) \
|
| - V(GetCachedArrayIndex) \
|
| V(Goto) \
|
| - V(HasCachedArrayIndexAndBranch) \
|
| V(HasInstanceTypeAndBranch) \
|
| V(InnerAllocatedObject) \
|
| V(InvokeFunction) \
|
| @@ -4146,45 +4144,6 @@ class HHasInstanceTypeAndBranch final : public HUnaryControlInstruction {
|
| InstanceType to_; // Inclusive range, not all combinations work.
|
| };
|
|
|
| -
|
| -class HHasCachedArrayIndexAndBranch final : public HUnaryControlInstruction {
|
| - public:
|
| - DECLARE_INSTRUCTION_FACTORY_P1(HHasCachedArrayIndexAndBranch, HValue*);
|
| -
|
| - Representation RequiredInputRepresentation(int index) override {
|
| - return Representation::Tagged();
|
| - }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch)
|
| - private:
|
| - explicit HHasCachedArrayIndexAndBranch(HValue* value)
|
| - : HUnaryControlInstruction(value, NULL, NULL) { }
|
| -};
|
| -
|
| -
|
| -class HGetCachedArrayIndex final : public HUnaryOperation {
|
| - public:
|
| - DECLARE_INSTRUCTION_FACTORY_P1(HGetCachedArrayIndex, HValue*);
|
| -
|
| - Representation RequiredInputRepresentation(int index) override {
|
| - return Representation::Tagged();
|
| - }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex)
|
| -
|
| - protected:
|
| - bool DataEquals(HValue* other) override { return true; }
|
| -
|
| - private:
|
| - explicit HGetCachedArrayIndex(HValue* value) : HUnaryOperation(value) {
|
| - set_representation(Representation::Tagged());
|
| - SetFlag(kUseGVN);
|
| - }
|
| -
|
| - bool IsDeletable() const override { return true; }
|
| -};
|
| -
|
| -
|
| class HClassOfTestAndBranch final : public HUnaryControlInstruction {
|
| public:
|
| DECLARE_INSTRUCTION_FACTORY_P2(HClassOfTestAndBranch, HValue*,
|
|
|