• Andreas Haas's avatar
    [wasm][arm][ia32] Push instance only twice in lazy-compile builtin · d5b3d8e9
    Andreas Haas authored
    This change already landed for x64, now come arm and ia32. The code
    already existed for arm64.
    
    The wasm instance got pushed three times in the lazy-compile builtin:
    1) as part of the parameters;
    2) as a parameter for the runtime function;
    3) to load the jump table address after the runtime function;
    
    The third push can be avoided by loading the jump table address after
    all parameters get loaded from the stack again.
    
    R=clemensb@chromium.org
    
    Bug: v8:13049, v8:12926
    Change-Id: Ifdbe943520c031ec5c480798694bcacc490a64bc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3764348Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81782}
    d5b3d8e9
builtins-arm.cc 140 KB