Index: src/interpreter/interpreter-assembler.h |
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h |
index 7e71cf220f07733a9491f6142e4725f9ceb3895d..8a3a017f1939f82da062ba3972b31f0d2abf72c1 100644 |
--- a/src/interpreter/interpreter-assembler.h |
+++ b/src/interpreter/interpreter-assembler.h |
@@ -92,6 +92,11 @@ class InterpreterAssembler : public CodeStubAssembler { |
// Load the TypeFeedbackVector for the current function. |
compiler::Node* LoadTypeFeedbackVector(); |
+ // Increment the call count for a CALL_IC or construct call. |
+ // The call count is located at feedback_vector[slot_id + 1]. |
+ compiler::Node* IncrementCallCount(compiler::Node* type_feedback_vector, |
+ compiler::Node* slot_id); |
+ |
// Call JSFunction or Callable |function| with |arg_count| |
// arguments (not including receiver) and the first argument |
// located at |first_arg|. Type feedback is collected in the |