Index: src/compiler/bytecode-graph-builder.h |
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h |
index 148796393ee84115a304c5ec65f24fae612d8560..75a0286f519df37847b819454f1a4baec342254a 100644 |
--- a/src/compiler/bytecode-graph-builder.h |
+++ b/src/compiler/bytecode-graph-builder.h |
@@ -151,6 +151,10 @@ class BytecodeGraphBuilder { |
// type feedback. |
CompareOperationHint GetCompareOperationHint(); |
+ // Helper function to compute call frequency from the recorded type |
+ // feedback. |
+ float ComputeCallFrequency(int slot_id) const; |
+ |
// Control flow plumbing. |
void BuildJump(); |
void BuildJumpIf(Node* condition); |