v8/test/mjsunit/regress/wasm
Clemens Hammacher 185922de91 [wasm] Distinguish requested tier and executed tier
During execution, the tier can be switch from Liftoff to TurboFan. We
already handle this in some locations by getting the tier before
execution, so that we later know which was the requested tier for that
unit.
In the case of the --wasm-tier-mask-for-testing flag, this accounting
was not right because the tier was already switched in the constructor.
This CL changes the compilation units to store both the requested and
the executed tier explicitly, so we know which counter to decrement
when the unit finishes.

R=ahaas@chromium.org

Bug: chromium:925671
Change-Id: I673463135e9b3ab17e40cfdfd5d3a526ad5a9b79
Reviewed-on: https://chromium-review.googlesource.com/c/1442639
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59168}
2019-01-29 12:36: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 [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
regress-7364.js [wasm] Reexported wasm functions should be identical to imports 2018-02-12 14:27:18 +00:00
regress-7366.js [Liftoff] Fix register spilling on stack transfer 2018-01-24 19:42:48 +00:00
regress-7422.js [Liftoff] Fix caller frame slots generated from stack values 2018-02-08 13:47:20 +00:00
regress-7499.js [Liftoff][ia32] Handle overflow in memory offset 2018-02-27 15:06:24 +00:00
regress-7508.js [Liftoff] Fix get_use_count for register pairs 2018-03-01 13:06:17 +00:00
regress-7565.js [Liftoff][x64] Fix and optimize spilling i64 constants 2018-03-16 11:05:11 +00:00
regress-7579.js [Liftoff] Fix stack slot overwrite 2018-03-21 15:38:39 +00:00
regress-7582.js [Liftoff] Fix conditional spilling 2018-03-22 18:45:17 +00:00
regress-7785.js [wasm] Avoid embedding {null} values in WasmCode. 2018-05-25 08:33:06 +00:00
regress-7914.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
regress-8059.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
regress-8094.js [wasm] Make exception creation non-observable by JS. 2018-09-04 10:37:27 +00:00
regress-8095.js [wasm] Fix crash during exception stack unwinding. 2018-08-28 13:02:44 +00:00
regress-8505.js [wasm] Intrinsify math imports 2018-11-26 15:17:51 +00:00
regress-8533.js [wasm] Load thread-in-wasm flag from the isolate 2018-12-05 15:10:11 +00:00
regress-02256.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +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 [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +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 [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
regress-684858.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-688876.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +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 [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
regress-702460.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +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 [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +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 [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +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 [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
regress-737069.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-739768.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +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 [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +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-769637.js [wasm] Rename regression test to follow convention 2018-04-09 20:45:22 +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 Reland "[asmjs] Properly validate asm.js heap sizes" 2018-08-21 09:00:04 +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-799952.js [wasm] Add missing WebAssembly.instantiate regression test. 2018-05-29 10:37:32 +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 [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
regress-802244.js [Liftoff] Fix registers spilling 2018-01-17 09:41:04 +00:00
regress-803427.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
regress-803788.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
regress-808012.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
regress-808848.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
regress-808980.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
regress-810973.js [wasm] Nerf regression test size 2018-09-13 12:46:20 +00:00
regress-810973b.js [wasm] Nerf regression test size 2018-09-13 12:46:20 +00:00
regress-812005.js [Liftoff] Fix result type of f64 binops 2018-02-19 16:12:30 +00:00
regress-816226.js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
regress-817380.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
regress-819869.js [wasm] Avoid integer overflow on function locals check 2018-03-08 17:00:55 +00:00
regress-820802.js [Liftoff] Fix stack pointer corruption 2018-03-14 08:13:12 +00:00
regress-824681.js [wasm] Fix deadlock on async compilation 2018-03-22 11:57:21 +00:00
regress-825087a.js [wasm] fix js-api memory/grow 2019-01-22 19:03:05 +00:00
regress-825087b.js [wasm] fix js-api memory/grow 2019-01-22 19:03:05 +00:00
regress-827806.js [wasm] Add regression test for chromium:827806 2018-04-05 18:49:23 +00:00
regress-831463.js [wasm][interpreter] Check signature before getting code 2018-04-11 09:52:19 +00:00
regress-834619.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
regress-834624.js [wasm][interpreter] Clear thread in wasm flag on exceptional return 2018-04-30 17:13:19 +00:00
regress-834693.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
regress-836141.js [wasm] Do an additional IsWasmModuleObject check during instantiation 2018-04-27 17:34:05 +00:00
regress-837417.js [wasm] Reimplement WebAssembly.instantiate without desugaring 2018-05-24 22:15:52 +00:00
regress-840757.js Reland "Fix SourcePositionInfo for wasm" 2018-05-09 16:39:55 +00:00
regress-842501.js [turbofan] Binop Instructions can have up to 5 input operands 2018-05-14 10:38:47 +00:00
regress-843563.js [wasm] Call imports via import table in js-to-wasm wrappers 2018-05-18 12:56:26 +00:00
regress-853453.js [wasm] Catch invalid flags correctly 2018-06-22 15:06:39 +00:00
regress-854011.js [Liftoff][arm64] Fix i64 constants passed via stack 2018-07-03 17:04:49 +00:00
regress-854050.js Reland "[Liftoff] Fix register use count" 2018-06-22 17:41:21 +00:00
regress-864509.js [Liftoff] Zero-extend i32 stack parameters 2018-07-17 16:59:14 +00:00
regress-873600.js Reland "[asmjs] Properly validate asm.js heap sizes" 2018-08-21 09:00:04 +00:00
regress-875556.js [wasm] Abort decoding of BlockTypeImmediate after an error was detected 2018-08-20 12:09:11 +00:00
regress-894307.js [Liftoff] Fix 64bit shift on ia32 2018-11-15 16:43:34 +00:00
regress-894374.js [Liftoff] Fewer pinned registers on store 2018-10-12 08:11:52 +00:00
regress-898932.js [wasm] Fix memory limit checks 2018-10-30 13:44:48 +00:00
regress-905815.js [wasm] Validate prefixed opcode reads 2018-12-28 07:07:11 +00:00
regress-910824.js [liftoff][arm] GetUnusedRegister before Acquire 2018-12-21 14:57:18 +00:00
regress-913804.js [wasm] Fix return from unreachable code 2018-12-11 12:01:10 +00:00
regress-916869.js [wasm] Fix i8 to i32 sign extension on ia32 2018-12-20 12:28:54 +00:00
regress-917412.js [Liftoff] Keep consistent register mapping in non-merged regions 2019-01-03 14:37:48 +00:00
regress-917588.js [Liftoff] Fix moving stack values 2019-01-03 14:25:47 +00:00
regress-917588b.js [Liftoff][arm] Fix stack moves 2019-01-10 17:21:47 +00:00
regress-918149.js [Liftoff][ia32] Fix i64 sign extension on non-byte register 2019-01-04 10:12:06 +00:00
regress-918284.js [Liftoff][arm] Leave scratch register to the assembler 2019-01-11 08:27:16 +00:00
regress-918917.js [Liftoff] Fix corner case of register moves 2019-01-08 10:57:05 +00:00
regress-919308.js [Liftoff] Fix sub of the same register 2019-01-11 10:57:09 +00:00
regress-919533.js [Liftoff] Fix reloading register spilled multiple times 2019-01-09 16:12:50 +00:00
regress-922432.js [wasm] Fix {OpcodeLength} for invalid br-on-exn opcodes. 2019-01-16 14:50:13 +00:00
regress-922670.js [Liftoff] Fix DCHECK error 2019-01-21 11:52:17 +00:00
regress-922933.js [Liftoff][arm] Avoid use of temp registers 2019-01-21 13:09:13 +00:00
regress-924905.js [wasm][arm] Fix {Word32Shr} instruction selection. 2019-01-25 13:08:10 +00:00
regress-925671.js [wasm] Distinguish requested tier and executed tier 2019-01-29 12:36:48 +00:00