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 [wasm] Do not generate a loop stack check upon a decoder error. 2016-10-13 14:33:11 +00:00
regress-5531.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-5800.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-5860.js [wasm] Do not patch memory references in imported functions. 2017-01-24 09:43:57 +00:00
regress-5884.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-6054.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-6164.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-6931.js [wasm] add a test for accidental sign extension 2017-10-19 04:09:21 +00:00
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 [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-02256b.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-02862.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-643595.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-644682.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-647649.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-648079.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-651961.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-654377.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-663994.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-666741.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-667745.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-670683.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-674447.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-680938.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-684858.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-688876.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-689450.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-694433.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-698587.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-699485.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-702460.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-702839.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-703568.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-708714.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-709684.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-710844.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-711203.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-712569.js [wasm] Fix DCHECK handiling pending exceptions. 2017-04-18 19:15:12 +00:00
regress-715216a.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-715216b.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-717056.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-717194.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-719175.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-722445.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-724846.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-724851.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-724972.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-727219.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-727222.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-727560.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-729991.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-731351.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-734108.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-734246.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-734345.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-736584.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-737069.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-739768.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-752423.js [wasm] Fix patching of table sizes. 2017-08-09 14:44:33 +00:00
regress-753496.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-757217.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-763439.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-763697.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-766003.js [wasm] Add regression tests for some recently fixed WasmInterpreter issues. 2017-10-17 12:04:40 +00:00
regress-769846.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-771243.js [wasm] Add regression tests for some recently fixed WasmInterpreter issues. 2017-10-17 12:04:40 +00:00
regress-772332.js [wasm] Add regression tests for some recently fixed WasmInterpreter issues. 2017-10-17 12:04:40 +00:00
regress-775366.js g# Enter a description of the change. 2017-10-20 14:00:34 +00:00
regress-775710.js [asm.js] Limit number of local variables 2017-10-25 12:45:36 +00:00
regress-776677.js [wasm] Fix Memory.grow when shared with asm.js modules 2017-10-23 15:49:03 +00:00
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