v8/test/unittests/wasm
Ng Zhi An ebcff9e131 [wasm] Read prefixed opcodes as u32v
Prefixed opcodes have a 1 byte prefix, followed by LEB-encoded u32. This
changes all prefixed opcodes (gc, numeric, atomic), to that. (Simd was
already so.)

We can clean up read_prefix_opcode to return the total number of bytes,
1 byte prefix + leb encoded, that will be in a future patch.

Bug: v8:10810,v8:10994
Change-Id: Ia74604acc059c1336b87e9f477598732de219ca9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2465057
Reviewed-by: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70544}
2020-10-15 17:10:48 +00:00
..
control-transfer-unittest.cc [wasm][cleanup] Rename kLocal<type> constants -> k<type>Code 2020-09-29 08:48:21 +00:00
decoder-unittest.cc [wasm] Simplify LEB decoding 2020-10-08 13:58:01 +00:00
function-body-decoder-unittest.cc [wasm] Read prefixed opcodes as u32v 2020-10-15 17:10:48 +00:00
leb-helper-unittest.cc [wasm] Rename {ValidateFlag} constants 2020-09-30 13:19:03 +00:00
loop-assignment-analysis-unittest.cc [wasm][cleanup] Rename kLocal<type> constants -> k<type>Code 2020-09-29 08:48:21 +00:00
module-decoder-memory64-unittest.cc [wasm][memory64] Start implementing the memory64 proposal 2020-09-24 09:38:08 +00:00
module-decoder-unittest.cc [wasm-gc][bug] Fix signature canonicalization 2020-10-05 16:16:51 +00:00
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
simd-shuffle-unittest.cc [wasm-simd][liftoff][x64] Optimize shuffles (swizzles) 2020-08-04 17:03:05 +00:00
streaming-decoder-unittest.cc [wasm] Make StreamingDecoder abstract, introduce AsyncStreamingDecoder 2020-05-20 17:24:32 +00:00
subtyping-unittest.cc [wasm-gc] Implement cross-module subtyping 2020-09-09 15:25:11 +00:00
trap-handler-posix-unittest.cc [wasm] Implement trap handler on Windows 2018-10-30 10:25:37 +00:00
trap-handler-win-unittest.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
trap-handler-x64-unittest.cc [test] Use Fuchsia test runner for unittests 2019-12-05 14:22:01 +00:00
wasm-code-manager-unittest.cc [wasm] Fix performance bottleneck in DisjointAllocationPool 2020-04-22 10:00:05 +00:00
wasm-compiler-unittest.cc [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
wasm-gdbserver-unittest.cc [unittests] Convert to the new MOCK_METHOD macro. 2020-06-10 15:50:38 +00:00
wasm-macro-gen-unittest.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
wasm-module-builder-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
wasm-module-sourcemap-unittest.cc Add source map support of WasmModule 2019-08-26 15:19:02 +00:00