• Junliang Yan's avatar
    PPC/s390: [nojit] Add a kCallBuiltinPointer call kind · 4812f2af
    Junliang Yan authored
    Port f323a5f4
    
    Original Commit Message:
    
        Currently, Torque's builtin pointers store a Code target underneath and
        callsites generate a kArchCallCodeObject opcode. When embedded builtins
        are enabled, the call thus first calls the on-heap trampoline, which
        finally jumps to the target off-heap builtin code.
    
        This will no longer be possible in jitless mode, since on-heap code must
        not be executable.
    
        As a step towards changing the way builtin pointers are called
        (function pointers will hold the builtin index as a Smi, and callsites
        look up the off-heap target address and jump there), this CL adds a
        dedicated opcode for builtin pointer calls to the compiler pipeline.
    
        The calling mechanism itself is unchanged, changes there will happen
        in a follow-up.
    
    R=jgruber@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: I2d2229227e1c62e7c2515d4f5cb3d4dae49b3dd4
    Reviewed-on: https://chromium-review.googlesource.com/c/1393913Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
    Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#58525}
    4812f2af
macro-assembler-s390.h 52.5 KB