v8/test/cctest/wasm
Manos Koukoutos a61aaed9b3 [wasm-gc] Allow reference types to function signatures
Changes:
- Remove restriction that function types cannot be used as ref types.
- Introduce WasmModule::has_type().
- Remove deferred signature checks in module-decoder. Instead, check if
  type indices are out of bounds in consume_value_type (was bugged
  before).
- Remove obsolete GetCanonicalRttIndex.
- Refine type of ref.func.
- Statically check immediate type against table type for call_indirect.
- Dynamic check for call_indirect should only happen when for funcref
  (currently the only function supertype).
- Allocate a different map per function signature (with Map::Copy).
- Introduce function type equivalence and (trivial) subtyping.
- Add a few elementary tests.

Bug: v8:7748
Change-Id: If57d0bfd856c9eb3784191f3de423f53dfd26ef1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2335190
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69250}
2020-08-05 14:38:56 +00:00
..
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
test-c-wasm-entry.cc [wasm-simd] Add JS-API errors for Simd, tests 2020-06-16 00:27:48 +00:00
test-compilation-cache.cc Reland "Reland "[wasm] Cache streaming compilation result"" 2020-02-03 13:49:18 +00:00
test-gc.cc [wasm-gc] Allow reference types to function signatures 2020-08-05 14:38:56 +00:00
test-grow-memory.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-jump-table-assembler.cc [arm64][cfi] Use x16/x17 for tail calls 2020-07-02 13:13:09 +00:00
test-liftoff-inspection.cc [wasm] Implement dynamic tiering in wasm 2020-07-21 16:07:01 +00:00
test-run-wasm-64.cc [wasm] Turn ValueType from an enum to a class 2020-03-12 17:03:16 +00:00
test-run-wasm-asmjs.cc [Liftoff] List unsupported opcodes explicitly 2019-05-29 09:47:28 +00:00
test-run-wasm-atomics64.cc [wasm][liftoff][arm] Implement CompareExchange 2020-05-06 10:11:49 +00:00
test-run-wasm-atomics.cc Make atomic operations effectful. 2019-07-31 16:12:04 +00:00
test-run-wasm-bulk-memory.cc [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
test-run-wasm-exceptions.cc [wasm] Prepare tests for flipping the wasm-bigint flag 2020-06-12 18:12:42 +00:00
test-run-wasm-interpreter.cc [wasm] Mark tail calls as unconditional jumps 2020-07-31 09:06:09 +00:00
test-run-wasm-js.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
test-run-wasm-module.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-run-wasm-sign-extension.cc [wasm] Remove Sign Extension flag, and helper functions 2019-12-06 13:14:44 +00:00
test-run-wasm-simd-liftoff.cc [wasm-simd][liftoff][arm64] Check offset fits in str immediate 2020-06-29 19:57:07 +00:00
test-run-wasm-simd-scalar-lowering.cc [wasm-simd] Scalar lowering to convert i8x16 to f32x4 2020-05-07 17:09:53 +00:00
test-run-wasm-simd.cc [wasm-simd] Run MultiShuffleFuzzTest on Liftoff 2020-07-30 16:52:40 +00:00
test-run-wasm.cc [zone-compr] Add kCompressGraphZone constant 2020-07-24 08:50:11 +00:00
test-streaming-compilation.cc [wasm] Switch compilation to Jobs API 2020-08-05 08:30:11 +00:00
test-wasm-breakpoints.cc [wasm][debug] Pass pointer for detected features 2020-06-15 08:54:12 +00:00
test-wasm-codegen.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-wasm-debug-evaluate.cc [wasm debugging] Implement __getOperand and __getGlobal 2020-07-07 11:52:13 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Faster wasm-to-js calls with arguments mismatch 2020-07-28 15:53:21 +00:00
test-wasm-serialization.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-wasm-shared-engine.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-wasm-stack.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
test-wasm-trap-position.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
wasm-atomics-utils.h [wasm][cleanup] Using 'using' instead of 'typedef' 2019-03-29 10:20:30 +00:00
wasm-run-utils.cc [nci] Replace CompilationTarget with a new Code::Kind value 2020-08-05 12:27:22 +00:00
wasm-run-utils.h [zone-compr] Add kCompressGraphZone constant 2020-07-24 08:50:11 +00:00