• Milad Fa's avatar
    PPC/s390: [sparkplug][deoptimizer] Deoptimize to baseline. · 94272ea5
    Milad Fa authored
    Port bdcd7d79
    
    Original Commit Message:
    
        If we have baseline code, deoptimize to baseline instead of the
        interpreter. The process is similar to deopting to the interpreter.
        We just use different builtins
        (BaselineEnterAtBytecode/BaselineEnterAtNextBytecode) instead of
        InterpreterEnterBytecodeDispatch/InterpreterEnterBytecodeAdvance, that
        patch an interpreter frame to a baseline frame and continue execution in
        baseline code (based on the deopt type, at the current or next
        bytecode).
    
    R=pthier@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: I3230f3f3c6506230b2751a3389f10b022dec61a3
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2783022Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
    Commit-Queue: Milad Fa <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/master@{#73618}
    94272ea5
builtins-ppc.cc 128 KB