• Patrick Thier's avatar
    [masm] Create helpers to manipulate arguments on the stack. · 89933af6
    Patrick Thier authored
    - Introduce helper to push arguments onto the stack (Standalone this
    change doesn't make a lot of sense, but is in preparation for including
    the receiver in argc).
    - Introduce helper to shift arguments already on the stack to make room
    for new arguments (Varargs).
    - arm64 is not included because a) there was already a helper similar
    to ShiftArguments and b) PushArguments is not similar enough to make
    sense for arm64 because of small differences (e.g. also pushing the
    function) in conjunction with stack alignment.
    
    Drive-by: Use masm DropArguments in Sparkplug EmitReturn
    
    Bug: v8:11112
    Change-Id: Id7a3a5f025abb19e2a52dae27b3b484fe87e9faf
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097275Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Patrick Thier <pthier@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#76392}
    89933af6
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
loong64 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
riscv64 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
baseline-assembler-inl.h Loading commit data...
baseline-assembler.h Loading commit data...
baseline-batch-compiler.cc Loading commit data...
baseline-batch-compiler.h Loading commit data...
baseline-compiler.cc Loading commit data...
baseline-compiler.h Loading commit data...
baseline.cc Loading commit data...
baseline.h Loading commit data...
bytecode-offset-iterator.cc Loading commit data...
bytecode-offset-iterator.h Loading commit data...