• Mythri's avatar
    [TurboFan] Remove absolute limit from inlining heuristics. · d7894b2d
    Mythri authored
    We have an absolute limit beyond which we don't inline small funcions as
    well. The idea behind inlining small functions is that it is cheaper to
    inline small functions rather than incurring the overhead due to the call.
    Hence it is better not to have a hard limit on inlining small functions.
    We have a limit on the number of levels of nesting to avoid really large
    graphs in some corner cases.
    
    Bug: v8:6682
    Change-Id: If74f666996fe4a42bf266a4e87caabfd7c614b12
    Reviewed-on: https://chromium-review.googlesource.com/648975
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48007}
    d7894b2d
js-inlining-heuristic.cc 29.4 KB