• Michael Starzinger's avatar
    [wasm][arm64] Fix {WasmGrowMemory} builtin to avoid Aborts. · 64517a23
    Michael Starzinger authored
    This changes the ARM64-specific {TurboAssembler::AssertSpAligned} helper
    to not generate calls to the {Abort} builtin. It is needed to ensure all
    WebAssembly runtime stubs (e.g. {WasmGrowMemory}) are independent of the
    Isolate. In general calling the {Abort} builtin without a valid frame
    being present will produce bogus debug messages anyways. Hence we just
    unconditionally use traps for the debug code in question.
    
    R=sigurds@chromium.org
    
    Change-Id: I93eb87e8b87209da8506c9b28e2c800950d1118a
    Reviewed-on: https://chromium-review.googlesource.com/1140170
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#54496}
    64517a23
macro-assembler-arm64.cc 115 KB