Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index db254314a38aa638bf5cd49c539dfcc788bb1e06..2a40453bbc43e6b2252ed17fa2c6dbb1060df607 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -264,6 +264,9 @@ class AstGraphBuilder : public AstVisitor<AstGraphBuilder> { |
uint32_t ComputeBitsetForDynamicGlobal(Variable* variable); |
uint32_t ComputeBitsetForDynamicContext(Variable* variable); |
+ // Computes the frequency for JSCallFunction and JSCallConstruct nodes. |
+ float ComputeCallFrequency(FeedbackVectorSlot slot) const; |
+ |
// =========================================================================== |
// The following build methods all generate graph fragments and return one |
// resulting node. The operand stack height remains the same, variables and |