Index: src/compiler/js-type-hint-lowering.cc |
diff --git a/src/compiler/js-type-hint-lowering.cc b/src/compiler/js-type-hint-lowering.cc |
index 0d6518606c0a4f7684b45c080465cd4b700d749c..433e51c61390d5b3dde6223fc480c528a248fd30 100644 |
--- a/src/compiler/js-type-hint-lowering.cc |
+++ b/src/compiler/js-type-hint-lowering.cc |
@@ -274,6 +274,22 @@ Reduction JSTypeHintLowering::ReduceToPrimitiveToStringOperation( |
return Reduction(); |
} |
+Reduction JSTypeHintLowering::ReduceCallOperation(const Operator* op, |
+ Node* const* args, |
+ int arg_count, Node* effect, |
+ Node* control, |
+ FeedbackSlot slot) const { |
+ DCHECK_EQ(IrOpcode::kJSCall, op->opcode()); |
+ DCHECK(!slot.IsInvalid()); |
+ CallICNexus nexus(feedback_vector(), slot); |
+ if (Node* node = TryBuildSoftDeopt( |
+ nexus, effect, control, |
+ DeoptimizeReason::kInsufficientTypeFeedbackForCall)) { |
+ return Reduction(node); |
+ } |
+ return Reduction(); |
+} |
+ |
Reduction JSTypeHintLowering::ReduceLoadNamedOperation( |
const Operator* op, Node* obj, Node* effect, Node* control, |
FeedbackSlot slot) const { |