v8/test/cctest/wasm
Andreas Haas 2d9ec0a420 Reland: [wasm][anyref] Add support of call-indirect for multiple tables
The reason for the revert was that Liftoff did not bail out on indirect
calls to tables other than table 0. Whenever the Liftoff code got
executed, the test would fail.

Original message:
With this CL it is possible to use any anyfunc table in call-indirect,
not just the first table.

The current implementation is based on runtime calls. This is just an
initial implementation which should be replaced by a
dispatch-table-based eventually. However, this implementation allows
us to move forward with the anyref proposal implementation.

R=mstarzinger@chromium.org

Bug: v8:7581
Change-Id: Iedd56ee7acb281441bca32ffd3dc7157203ee1ac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1532072
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Auto-Submit: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60382}
2019-03-21 08:42:48 +00:00
..
OWNERS Reduce wasm OWNERS to current team members 2018-10-15 14:47:49 +00:00
test-c-wasm-entry.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-jump-table-assembler.cc [MIPS] fix build error. 2019-03-01 10:11:39 +00:00
test-run-wasm-64.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-asmjs.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-atomics64.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-atomics.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-bulk-memory.cc [wasm] Implement bulk memory in interpreter 2019-03-15 05:29:59 +00:00
test-run-wasm-exceptions.cc [wasm] Call through dispatch table in interpreter 2019-03-21 07:35:27 +00:00
test-run-wasm-interpreter.cc [wasm] Call through dispatch table in interpreter 2019-03-21 07:35:27 +00:00
test-run-wasm-js.cc [wasm] Call through dispatch table in interpreter 2019-03-21 07:35:27 +00:00
test-run-wasm-module.cc [wasm] Reserve upto maximum for a shared WebAssembly.Memory 2019-02-23 01:59:12 +00:00
test-run-wasm-sign-extension.cc [wasm] Unify all enums representing execution tiers 2018-08-21 15:45:18 +00:00
test-run-wasm-simd.cc [wasm simd] Refactor tests to check results in C++ code. 2019-03-08 06:18:40 +00:00
test-run-wasm.cc [wasm] Call through dispatch table in interpreter 2019-03-21 07:35:27 +00:00
test-streaming-compilation.cc [wasm] Test that compile errors contain function names 2019-03-18 16:06:18 +00:00
test-wasm-breakpoints.cc [ubsan] Port JSReceiver and subclasses to the new design 2018-12-08 04:05:50 +00:00
test-wasm-codegen.cc [api][wasm] Change ModuleCompiledCallback definition 2018-12-11 07:38:30 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Keep NativeModule alive in BackgroundCompileScope 2019-03-13 08:04:04 +00:00
test-wasm-interpreter-entry.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-wasm-serialization.cc [wasm] Add getter for shared_ptr to NativeModule 2018-12-11 14:29:36 +00:00
test-wasm-shared-engine.cc Merge MicrotaskQueue::RunMicrotasks and Isolate::RunMicrotasks 2019-01-16 23:35:24 +00:00
test-wasm-stack.cc [cleanup] Refactor base, compiler, and wasm classes to use bools instead of converting ints. 2018-09-20 09:14:25 +00:00
test-wasm-trap-position.cc [cleanup] Refactor base, compiler, and wasm classes to use bools instead of converting ints. 2018-09-20 09:14:25 +00:00
wasm-atomics-utils.h [compiler] Remove AtomicNarrow machine operators, macroize tests 2018-08-29 16:11:48 +00:00
wasm-run-utils.cc Reland: [wasm][anyref] Add support of call-indirect for multiple tables 2019-03-21 08:42:48 +00:00
wasm-run-utils.h [wasm] Call through dispatch table in interpreter 2019-03-21 07:35:27 +00:00