• Milad Fa's avatar
    PPC/s390: [sparkplug] Remove BaselineData, use Code directly · 0100a8e8
    Milad Fa authored
    Port 787bec09
    
    Original Commit Message:
    
        Remove the BaselineData intermediate structure for baseline code, and
        write the baseline Code object into the SharedFunctionInfo directly. We
        still need a pointer to the BytecodeArray/InterpreterData, so re-use the
        Code object's deoptimization data slot for this (baseline code doesn't
        have deoptimization data).
    
        A consequence of this is that the BytecodeArray pointer becomes
        immutable when there is baseline code. This means that we cannot install
        a debug BytecodeArray while baseline code is active (we have to flush it
        first), and we can't tier-up code with debug BytecodeArray to baseline.
    
    R=leszeks@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: I7e0f7d964341774340d27f1890cef4c7d9ee9dda
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3145171Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Milad Fa <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/main@{#76694}
    0100a8e8
builtins-ppc.cc 128 KB