• mstarzinger's avatar
    [interpreter] Switch profiler to use frames for OSR. · 685210ec
    mstarzinger authored
    This switches the interface of the runtime profiler to use frames as
    opposed to functions for performing on-stack replacement. Requests for
    such replacements need to target a specific frame. This will enable us
    to activate bytecode as well as baseline code for the same function.
    
    The existing %OptimizeOsr runtime function also had to adapted and now
    takes an optional stack depth to target a specific stack frame.
    
    R=bmeurer@chromium.org
    BUG=v8:4764
    
    Review-Url: https://codereview.chromium.org/2230783004
    Cr-Commit-Position: refs/heads/master@{#38548}
    685210ec
runtime-test.cc 21.2 KB