Index: src/compiler/bytecode-graph-builder.h |
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h |
index d87fac9e8166f0ee00573c83f6c04eabe126aef0..f9d4fc5b74c0e7308d25498dfac944accc51e93c 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() const; |
+ |
// Control flow plumbing. |
void BuildJump(); |
void BuildJumpIf(Node* condition); |