v8/test/common/wasm
Manos Koukoutos 0a69768a4e [wasm-gc] Implement ref.as_non_null, optimize struct instructions.
Implement the instruction ref.as_non_null, as per the wasm gc extension.

Changes:
- Add the respective wasm opcode, move some asmjs opcodes around.
- Add a new type of wasm trap, IllegalCast.
- Modify wasm decoding and compilation pipeline.
- Add a minimal test.
- In wasm-compiler, generalize Unreachable to Trap.
- Optimize struct.get and struct.set for non-null types.

Bug: v8:7748
Change-Id: If2f794306c7cbfabc06e4f64988132346085d6dd
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2187616
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67705}
2020-05-11 11:09:47 +00:00
..
flag-utils.h [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
test-signatures.h [wasm-simd][liftoff] Handle SIMD params in function 2020-01-17 00:07:08 +00:00
wasm-macro-gen.h [wasm-gc] Implement ref.as_non_null, optimize struct instructions. 2020-05-11 11:09:47 +00:00
wasm-module-runner.cc [wasm-gc] Add ref,optref,eqref value types 2020-04-17 20:33:12 +00:00
wasm-module-runner.h Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00