Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index 6d7877361c4f62860e39d7a001029f4aa09e34fb..f307abacdc8028e265cd422fb4d3be9ed1dbec76 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -105,7 +105,6 @@ class SmallMapList; |
V(LoadContextSlot) \ |
V(LoadFieldByIndex) \ |
V(LoadFunctionPrototype) \ |
- V(LoadGlobalGeneric) \ |
V(LoadKeyed) \ |
V(LoadKeyedGeneric) \ |
V(LoadNamedField) \ |
@@ -4825,48 +4824,6 @@ class HUnknownOSRValue final : public HTemplateInstruction<0> { |
HPhi* incoming_value_; |
}; |
-class HLoadGlobalGeneric final : public HTemplateInstruction<1> { |
- public: |
- DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P4(HLoadGlobalGeneric, |
- Handle<String>, TypeofMode, |
- Handle<TypeFeedbackVector>, |
- FeedbackVectorSlot); |
- |
- HValue* context() { return OperandAt(0); } |
- Handle<String> name() const { return name_; } |
- TypeofMode typeof_mode() const { return typeof_mode_; } |
- FeedbackVectorSlot slot() const { return slot_; } |
- Handle<TypeFeedbackVector> feedback_vector() const { |
- return feedback_vector_; |
- } |
- |
- std::ostream& PrintDataTo(std::ostream& os) const override; // NOLINT |
- |
- Representation RequiredInputRepresentation(int index) override { |
- return Representation::Tagged(); |
- } |
- |
- DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric) |
- |
- private: |
- HLoadGlobalGeneric(HValue* context, Handle<String> name, |
- TypeofMode typeof_mode, Handle<TypeFeedbackVector> vector, |
- FeedbackVectorSlot slot) |
- : name_(name), |
- typeof_mode_(typeof_mode), |
- feedback_vector_(vector), |
- slot_(slot) { |
- SetOperandAt(0, context); |
- set_representation(Representation::Tagged()); |
- SetAllSideEffects(); |
- } |
- |
- Handle<String> name_; |
- TypeofMode typeof_mode_; |
- Handle<TypeFeedbackVector> feedback_vector_; |
- FeedbackVectorSlot slot_; |
-}; |
- |
class HAllocate final : public HTemplateInstruction<3> { |
public: |
static bool CompatibleInstanceTypes(InstanceType type1, |