Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: src/compiler/bytecode-graph-builder.h

Issue 2330883002: [turbofan] Call frequencies for JSCallFunction and JSCallConstruct. (Closed)
Patch Set: REBASE Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698