• 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
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
d8_default.gyp Loading commit data...
d8_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...