Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index f307abacdc8028e265cd422fb4d3be9ed1dbec76..7bbdfefd7e62c0f84fc6c097b9b2911e7e5eb877 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -108,7 +108,6 @@ class SmallMapList; |
V(LoadKeyed) \ |
V(LoadKeyedGeneric) \ |
V(LoadNamedField) \ |
- V(LoadNamedGeneric) \ |
V(LoadRoot) \ |
V(MathFloorOfDiv) \ |
V(MathMinMax) \ |
@@ -5808,46 +5807,6 @@ class HLoadNamedField final : public HTemplateInstruction<2> { |
}; |
-class HLoadNamedGeneric final : public HTemplateInstruction<2> { |
- public: |
- DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P4(HLoadNamedGeneric, HValue*, |
- Handle<Name>, |
- Handle<TypeFeedbackVector>, |
- FeedbackVectorSlot); |
- |
- HValue* context() const { return OperandAt(0); } |
- HValue* object() const { return OperandAt(1); } |
- Handle<Name> name() const { return name_; } |
- |
- FeedbackVectorSlot slot() const { return slot_; } |
- Handle<TypeFeedbackVector> feedback_vector() const { |
- return feedback_vector_; |
- } |
- |
- Representation RequiredInputRepresentation(int index) override { |
- return Representation::Tagged(); |
- } |
- |
- std::ostream& PrintDataTo(std::ostream& os) const override; // NOLINT |
- |
- DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric) |
- |
- private: |
- HLoadNamedGeneric(HValue* context, HValue* object, Handle<Name> name, |
- Handle<TypeFeedbackVector> vector, FeedbackVectorSlot slot) |
- : name_(name), feedback_vector_(vector), slot_(slot) { |
- SetOperandAt(0, context); |
- SetOperandAt(1, object); |
- set_representation(Representation::Tagged()); |
- SetAllSideEffects(); |
- } |
- |
- Handle<Name> name_; |
- Handle<TypeFeedbackVector> feedback_vector_; |
- FeedbackVectorSlot slot_; |
-}; |
- |
- |
class HLoadFunctionPrototype final : public HUnaryOperation { |
public: |
DECLARE_INSTRUCTION_FACTORY_P1(HLoadFunctionPrototype, HValue*); |