[turbofan] Ignore uninlineable functions when computing smallness
Change-Id: I94c29febf3f89d8b907dd879413d4a113ca1d0df Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1826723 Reviewed-by: Maya Lekova <mslekova@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#63997}
This commit is contained in:
parent
99b75c112a
commit
70879048fa
@ -157,9 +157,9 @@ Reduction JSInliningHeuristic::Reduce(Node* node) {
|
||||
if (candidate.can_inline_function[i]) {
|
||||
can_inline_candidate = true;
|
||||
candidate.total_size += bytecode.length();
|
||||
}
|
||||
candidate_is_small = candidate_is_small && IsSmall(bytecode);
|
||||
}
|
||||
}
|
||||
if (!can_inline_candidate) return NoChange();
|
||||
|
||||
// Gather feedback on how often this call site has been hit before.
|
||||
|
Loading…
Reference in New Issue
Block a user