• Jakob Gruber's avatar
    [nci] Update invocation count in the NCI prologue · c11a054e
    Jakob Gruber authored
    The invocation count is part of call feedback, and is used during
    tier-up to determine inlining candidates. For bytecode, it is updated
    by the InterpreterEntryTrampoline, which can be seen as a global
    prologue for all bytecode functions.
    
    Since NCI tiers up, it must also track the invocation count. This CL
    adds it to the NCI prologue sequence (emitted as part of every NCI
    code object).
    
    Bug: v8:8888
    Change-Id: I04b33c9c8b0bdd975aceb97145f159798e18b97b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2436340
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70221}
    c11a054e
access-builder.h 12.9 KB