• Andreas Haas's avatar
    [wasm][multi-return] Fix problem with unused stack returns · e04238b7
    Andreas Haas authored
    There was an issue when the caller of a function with multiple returns
    did not use all values which were returned over the stack. The caller
    used only the used returns to calculate the offsets on the stack,
    whereas the callee used all returns to calculate the offsets.
    
    With this CL also the caller uses all returns to calculate the stack
    offsets and thereby agrees again with the callee on the location of
    all returns.
    
    In addition I fixed an issue on x64: A quad word is reserved on the
    stack frame to spill callee-saved FP registers, which is not pointer
    size.
    
    R=titzer@chromium.org
    
    Change-Id: Ibe56b4b57e4b6e59071a868805b1237412344f93
    Reviewed-on: https://chromium-review.googlesource.com/824043Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50193}
    e04238b7
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...
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...