Description[turbofan] Call frequencies for JSCallFunction and JSCallConstruct.
Extract the call counts from the type feedback vector during graph
building (either via the AstGraphBuilder or the BytecodeGraphBuilder),
and put them onto the JSCallFunction and JSCallConstruct operators,
so that they work even across inlinine through .apply and .call (which
was previously hacked by creating a temporary type feedback vector
for those).
The next logic step will be to make those call counts into real
relative call frequencies (also during graph building), so that we
can make inlining decisions that make sense for the function being
optimized (where absolute values are misleading).
R=jarin@chromium.org
BUG=v8:5267, v8:5372
Committed: https://crrev.com/0b8a69458ea25314f83d83fbe7f6ced4f903daf1
Cr-Commit-Position: refs/heads/master@{#39400}
Patch Set 1 #Patch Set 2 : Also handle invalid slots properly in the AstGraphBuilder. #Patch Set 3 : REBASE #
Total comments: 6
Patch Set 4 : REBASE and feedback. #Patch Set 5 : Rebase onto the correct CL. #
Depends on Patchset: Messages
Total messages: 35 (27 generated)
|