Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index 1ccc9dd0a88bdc975032c3d25ec76e33ada3800a..4035e79d844db2a67ba6321cc554a127e9d8eb0d 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -144,7 +144,6 @@ class LChunkBuilder; |
V(StringCompareAndBranch) \ |
V(Sub) \ |
V(ThisFunction) \ |
- V(ToFastProperties) \ |
V(TransitionElementsKind) \ |
V(TrapAllocationMemento) \ |
V(Typeof) \ |
@@ -7318,35 +7317,6 @@ class HMaybeGrowElements final : public HTemplateInstruction<5> { |
}; |
-class HToFastProperties final : public HUnaryOperation { |
- public: |
- DECLARE_INSTRUCTION_FACTORY_P1(HToFastProperties, HValue*); |
- |
- Representation RequiredInputRepresentation(int index) override { |
- return Representation::Tagged(); |
- } |
- |
- DECLARE_CONCRETE_INSTRUCTION(ToFastProperties) |
- |
- private: |
- explicit HToFastProperties(HValue* value) : HUnaryOperation(value) { |
- set_representation(Representation::Tagged()); |
- SetChangesFlag(kNewSpacePromotion); |
- |
- // This instruction is not marked as kChangesMaps, but does |
- // change the map of the input operand. Use it only when creating |
- // object literals via a runtime call. |
- DCHECK(value->IsCallRuntime()); |
-#ifdef DEBUG |
- const Runtime::Function* function = HCallRuntime::cast(value)->function(); |
- DCHECK(function->function_id == Runtime::kCreateObjectLiteral); |
-#endif |
- } |
- |
- bool IsDeletable() const override { return true; } |
-}; |
- |
- |
class HSeqStringGetChar final : public HTemplateInstruction<2> { |
public: |
static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context, |