• Mythri's avatar
    [TurboFan] Remove a check on nesting levels inlining heuristics · 5b38c7fc
    Mythri authored
    We have a check on maximum number of levels that can be inlined. This
    in some cases causes performance cliffs, when we cannot inline a small
    function because it has exceeded the number of levels. This cl removes
    that check. The intuition is that, having gone down several levels in
    a particular line stopping inlining that chain and exploring a new
    call site may not be beneficial. This cl also introduces a absolute
    limit on the number of nodes that can be inlined (including the small
    functions).
    
    Bug: v8:6871, chromium:779509
    Change-Id: Id29639ff2fd85b84d8746da3fb78a82d4e9852e8
    Reviewed-on: https://chromium-review.googlesource.com/743727Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49050}
    5b38c7fc
isolate.cc 137 KB