Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index aebad7a9308fb0d90ebe491678526db1bebe4e13..207429140039b0008a8a6aea2e76699046f62f61 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -115,7 +115,6 @@ class LChunkBuilder; |
V(LoadFieldByIndex) \ |
V(LoadFunctionPrototype) \ |
V(LoadGlobalGeneric) \ |
- V(LoadGlobalViaContext) \ |
V(LoadKeyed) \ |
V(LoadKeyedGeneric) \ |
V(LoadNamedField) \ |
@@ -145,7 +144,6 @@ class LChunkBuilder; |
V(StoreCodeEntry) \ |
V(StoreContextSlot) \ |
V(StoreFrameContext) \ |
- V(StoreGlobalViaContext) \ |
V(StoreKeyed) \ |
V(StoreKeyedGeneric) \ |
V(StoreNamedField) \ |
@@ -5450,35 +5448,6 @@ class HLoadGlobalGeneric final : public HTemplateInstruction<2> { |
}; |
-class HLoadGlobalViaContext final : public HTemplateInstruction<1> { |
- public: |
- DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HLoadGlobalViaContext, int, int); |
- |
- HValue* context() { return OperandAt(0); } |
- int depth() const { return depth_; } |
- int slot_index() const { return slot_index_; } |
- |
- std::ostream& PrintDataTo(std::ostream& os) const override; // NOLINT |
- |
- Representation RequiredInputRepresentation(int index) override { |
- return Representation::Tagged(); |
- } |
- |
- DECLARE_CONCRETE_INSTRUCTION(LoadGlobalViaContext) |
- |
- private: |
- HLoadGlobalViaContext(HValue* context, int depth, int slot_index) |
- : depth_(depth), slot_index_(slot_index) { |
- SetOperandAt(0, context); |
- set_representation(Representation::Tagged()); |
- SetAllSideEffects(); |
- } |
- |
- int const depth_; |
- int const slot_index_; |
-}; |
- |
- |
class HAllocate final : public HTemplateInstruction<2> { |
public: |
static bool CompatibleInstanceTypes(InstanceType type1, |
@@ -7009,39 +6978,6 @@ class HStoreNamedGeneric final : public HTemplateInstruction<3> { |
}; |
-class HStoreGlobalViaContext final : public HTemplateInstruction<2> { |
- public: |
- DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P4(HStoreGlobalViaContext, HValue*, |
- int, int, LanguageMode); |
- HValue* context() const { return OperandAt(0); } |
- HValue* value() const { return OperandAt(1); } |
- int depth() const { return depth_; } |
- int slot_index() const { return slot_index_; } |
- LanguageMode language_mode() const { return language_mode_; } |
- |
- std::ostream& PrintDataTo(std::ostream& os) const override; // NOLINT |
- |
- Representation RequiredInputRepresentation(int index) override { |
- return Representation::Tagged(); |
- } |
- |
- DECLARE_CONCRETE_INSTRUCTION(StoreGlobalViaContext) |
- |
- private: |
- HStoreGlobalViaContext(HValue* context, HValue* value, int depth, |
- int slot_index, LanguageMode language_mode) |
- : depth_(depth), slot_index_(slot_index), language_mode_(language_mode) { |
- SetOperandAt(0, context); |
- SetOperandAt(1, value); |
- SetAllSideEffects(); |
- } |
- |
- int const depth_; |
- int const slot_index_; |
- LanguageMode const language_mode_; |
-}; |
- |
- |
class HStoreKeyed final : public HTemplateInstruction<3>, |
public ArrayInstructionInterface { |
public: |