Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index a9ab49d22ecb817fc0b8a72c542693069987995b..710e0b174c13ee6d30dbacb4d1a30ba460a28ae9 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -59,7 +59,6 @@ class LChunkBuilder; |
V(BoundsCheckBaseIndexInformation) \ |
V(Branch) \ |
V(CallWithDescriptor) \ |
- V(CallJSFunction) \ |
V(CallNewArray) \ |
V(CallRuntime) \ |
V(CapturedObject) \ |
@@ -2219,38 +2218,6 @@ class HBinaryCall : public HCall<2> { |
}; |
-class HCallJSFunction final : public HCall<1> { |
- public: |
- static HCallJSFunction* New(Isolate* isolate, Zone* zone, HValue* context, |
- HValue* function, int argument_count); |
- |
- HValue* function() const { return OperandAt(0); } |
- |
- std::ostream& PrintDataTo(std::ostream& os) const override; // NOLINT |
- |
- Representation RequiredInputRepresentation(int index) final { |
- DCHECK(index == 0); |
- return Representation::Tagged(); |
- } |
- |
- bool HasStackCheck() final { return has_stack_check_; } |
- |
- DECLARE_CONCRETE_INSTRUCTION(CallJSFunction) |
- |
- private: |
- // The argument count includes the receiver. |
- HCallJSFunction(HValue* function, |
- int argument_count, |
- bool has_stack_check) |
- : HCall<1>(argument_count), |
- has_stack_check_(has_stack_check) { |
- SetOperandAt(0, function); |
- } |
- |
- bool has_stack_check_; |
-}; |
- |
- |
enum CallMode { NORMAL_CALL, TAIL_CALL }; |