v8/test/mjsunit/regress/wasm
Clemens Hammacher ad98ba7773 [Liftoff] Fix register spilling on stack transfer
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: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50853}
2018-01-24 19:42:48 +00:00
..
loop-stack-check.js
regress-5531.js
regress-5800.js
regress-5860.js
regress-5884.js
regress-6054.js
regress-6164.js
regress-6931.js
regress-7033.js [Liftoff] Fix binop code generation bug 2017-11-06 11:45:44 +00:00
regress-7035.js [Liftoff] Fix register reuse in merge init 2017-11-06 17:35:07 +00:00
regress-7049.js [wasm] Mark C_WASM_ENTRY as no tagged_params 2017-11-08 12:55:17 +00:00
regress-7353.js [Liftoff] Fill registers as the right type 2018-01-23 11:45:15 +00:00
regress-7366.js [Liftoff] Fix register spilling on stack transfer 2018-01-24 19:42:48 +00:00
regress-02256.js
regress-02256b.js
regress-02862.js
regress-643595.js
regress-644682.js
regress-647649.js
regress-648079.js
regress-651961.js
regress-654377.js
regress-663994.js
regress-666741.js
regress-667745.js
regress-670683.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-674447.js
regress-680938.js
regress-684858.js
regress-688876.js
regress-689450.js
regress-694433.js
regress-698587.js
regress-699485.js
regress-702460.js
regress-702839.js
regress-703568.js
regress-708714.js
regress-709684.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-710844.js
regress-711203.js
regress-712569.js
regress-715216a.js
regress-715216b.js
regress-717056.js
regress-717194.js
regress-719175.js
regress-722445.js
regress-724846.js
regress-724851.js
regress-724972.js
regress-727219.js
regress-727222.js
regress-727560.js
regress-729991.js
regress-731351.js
regress-734108.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-734246.js
regress-734345.js
regress-736584.js
regress-737069.js
regress-739768.js
regress-752423.js
regress-753496.js
regress-757217.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-763439.js
regress-763697.js
regress-766003.js
regress-769846.js
regress-771243.js
regress-772332.js
regress-775366.js
regress-775710.js
regress-776677.js
regress-778917.js [wasm] Improve stack check in the interpreter 2017-11-02 10:10:27 +00:00
regress-782280.js Reland "[Liftoff] Implement parallel register moves" 2017-11-10 12:18:08 +00:00
regress-784050.js [Liftoff] Don't force unrelated stack slots into registers 2017-11-16 17:34:17 +00:00
regress-789952.js Reland "[wasm] Gracefully handle malformed custom sections in WebAssembly.Module.customSections()." 2017-12-01 14:39:57 +00:00
regress-791810.js [Liftoff] Fix cache state initialization 2017-12-07 10:51:46 +00:00
regress-793551.js [Liftoff] Fix redundant register moves 2017-12-11 13:47:02 +00:00
regress-797846.js [d8] Run the message loop in the same RealmScope as the script 2018-01-09 13:51:41 +00:00
regress-800756.js [Liftoff] Fix i32.eqz on ia32 2018-01-11 14:55:24 +00:00
regress-801785.js [wasm] Fix printing of reloc info on the native heap 2018-01-22 13:49:21 +00:00
regress-801850.js [wasm] Fix serialization of empty modules. 2018-01-15 14:25:18 +00:00
regress-802244.js [Liftoff] Fix registers spilling 2018-01-17 09:41:04 +00:00
regress-803427.js [wasm] Remove {NativeModule::lazy_builtin} field. 2018-01-22 17:27:15 +00:00
regress-803788.js [wasm] Fix lazy compilation with native-heap code. 2018-01-22 13:11:11 +00:00