v8/test/unittests/wasm
Manos Koukoutos a3b5825244 [wasm][gc][refactor] Decode gc types with immediates consistently.
Motivation:
There were three versions of type decoding for wasm in the codebase.
Not all of them decoded gc types with immediates (reference types)
correctly.

Changes:
- Refactor the wasm binary decoder for unify type decoding.
- Update BranchTypeImmediate and SelectTypeImmediate to handle
  reference types.

Reference: https://github.com/WebAssembly/gc

R=jkummerow@chromium.org
Bug: v8:7748

Change-Id: I33b38c911d366570ca6ef2723ded5205698e1979
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2179003
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67614}
2020-05-06 14:31:29 +00:00
..
control-transfer-unittest.cc [cleanup] Eliminate non-const reference parameters 2019-09-10 11:47:39 +00:00
decoder-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
function-body-decoder-unittest.cc [wasm][gc][refactor] Decode gc types with immediates consistently. 2020-05-06 14:31:29 +00:00
leb-helper-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
loop-assignment-analysis-unittest.cc [wasm] Rename {Get,Set,Tee}Local to Local{Get,Set,Tee} 2019-10-08 14:14:40 +00:00
module-decoder-unittest.cc Support .external_debug_info symbol references 2020-05-05 16:45:49 +00:00
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
streaming-decoder-unittest.cc [wasm] Improve code size estimate for streaming 2019-11-08 08:28: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] Turn ValueType from an enum to a class 2020-03-12 17:03:16 +00:00
wasm-gdbserver-unittest.cc Wasm debugging with LLDB: decode and execute GDB-remote commands 2020-04-17 09:57:46 +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