• Clemens Hammacher's avatar
    [Liftoff] Fix register spilling on stack transfer · ad98ba77
    Clemens Hammacher authored
    When moving arguments for calls into the right registers and stack
    slots, we were sometimes overwriting stack slots which would still be
    used later to load arguments from. This is because we popped the (wasm)
    value stack before executing the register moves, hence the stack
    transfer would think the values are not being used any more and reuse
    the stack slots.
    With this CL, we only pop the arguments from the stack after executing
    the stack transfer.
    
    R=ahaas@chromium.org
    
    Bug: v8:7366, v8:6600
    Change-Id: I3aa5126c82634fd281959075e91e73465c39abaa
    Reviewed-on: https://chromium-review.googlesource.com/883802
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50853}
    ad98ba77
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
liftoff-assembler-defs.h Loading commit data...
liftoff-assembler.cc Loading commit data...
liftoff-assembler.h Loading commit data...
liftoff-compiler.cc Loading commit data...
liftoff-register.h Loading commit data...