• Andreas Haas's avatar
    [wasm][liftoff] Fix stack check safepoints for arm, arm64, and ia32 · 8656a594
    Andreas Haas authored
    Registers are spilled differently on arm and intel platforms.
    Additionally, on arm64 registers are spilled with padding. Therefore
    the code for safepoint information for spilled registers is platform-
    dependent now.
    
    Additionally the alignment of the frame size is done before the
    out-of-line code now, so that the safepoint indices can be calculated
    correctly for spilled registers in out-of-line code.
    
    Finally, some code was unimplemented on ia32 and arm, which I added
    now.
    
    R=thibaudm@chromium.org
    
    Bug: v8:7581, v8:10929
    Change-Id: Ia9b824dfc74cafa9ec3cc0d308fb18b485afd715
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2584952
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71786}
    8656a594
liftoff-assembler-mips64.h 106 KB