• rmcilroy's avatar
    [Interpreter] Support compiling for baseline on return from interpreted function. · f241a61a
    rmcilroy authored
    We cannot tier up from interpreted to baseline code when there is an
    activation of the function on the stack. This significantly regresses
    the performance of recursive functions since they are unlikely to get
    tiered up.
    
    This CL adds the ability for a function to be marked for baseline
    compilation when it returns. To do this we patch the
    InterpreterEntryTrampoline return address to point to
    InterpreterMarkBaselineOnReturn, which leaves the
    interpreted frame and recompile the function for
    baseline.
    
    This improves the score of EarlyBoyer by ~8x for Ignition.
    
    BUG=v8:4280
    LOG=N
    
    Review-Url: https://codereview.chromium.org/1965343002
    Cr-Commit-Position: refs/heads/master@{#36360}
    f241a61a
objects-inl.h 233 KB