• Jakob Gruber's avatar
    [coverage] Fix SFI::IsInlineable for block binary coverage · 47a69050
    Jakob Gruber authored
    Block binary coverage currently also relies on invocation counts on
    the feedback vector, which are not maintained in optimized code. This
    fixes the SFI::IsInlineable predicate to also prevent inlining
    functions when 1. binary coverage is enabled and 2. the function has
    no reported binary coverage.
    
    Drive-by: Add new predicates for binary/count modes.
    
    Bug: v8:6000
    Change-Id: I0039e43ebae880e3552e8349d20a144fe941ef3b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1571615
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60920}
    47a69050
isolate.h 74.8 KB