v8/test
Andreas Haas 02f18b2df1 [wasm] Refactor indirect function calls
This is the combined second and third step of refactoring indirect
function calls through tables with index > 0 to work without runtime
calls.

The first CL introduces the WasmIndirectFunctionTable heap object. For
a table of type anyfunc within a WebAssembly instance,
WasmIndirectFunctionTable stores the size, the signature id's, the
call targets, and the reference parameters for that table. I used the
names that are already used for the matching fields of the
WasmInstanceObject.

The second CL expands the IndirectFunctionTableEntry to work also on
WasmIndirectFunctionTable objects. All changes to a function table go
through this class.

The third CL introduces uses of the WasmIndirectFunctionTable. In this
CL I change the code generation in TurboFan to replace runime calls with
direct accesses to the new WasmIndirectFunctionTable. Additionally I
extended the initialization of WasmIndirectFunctionTable, and also
implement Table.grow.

R=mstarzinger@chromium.org

Bug: v8:7581
Change-Id: Ic7615c0138562d27897683358ddc0943add1acfe
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1684186
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62515}
2019-07-03 16:03:12 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [wasm] Refactor indirect function calls 2019-07-03 16:03:12 +00:00
common [turbofan] JSHeapBroker logging respects --trace-turbo-filter 2019-06-12 11:02:38 +00:00
debugger [test] Remove module pragma in favor of .mjs 2019-06-27 13:25:48 +00:00
fuzzer [cleanup] Drop some occurrences of Isolate::Current 2019-06-26 19:39:21 +00:00
inspector inspector: fixed Debugger.restartFrame 2019-07-01 20:15:10 +00:00
intl Roll icu and fix tests 2019-07-02 06:39:21 +00:00
js-perf-test [test] load the remaining js-perf-test resource file for Android devices 2019-07-01 12:31:30 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [test] Fix {assertNotSame} in mjsunit test harness. 2019-07-03 15:20:57 +00:00
mjsunit [test] Fix {assertNotSame} in mjsunit test harness. 2019-07-03 15:20:57 +00:00
mkgrokdump [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
mozilla Reland "[array] Move Array#sort pre-processing to Torque" 2019-05-24 12:13:17 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 Revert "Reland "Let all early errors be SyntaxErrors."" 2019-07-03 12:47:41 +00:00
torque [torque] Support 'real' internal classes 2019-06-21 16:09:28 +00:00
unittests [DevTools] Roll inspector_protocol (v8). 2019-06-28 09:37:18 +00:00
wasm-api-tests [wasm-c-api] Add finalization test 2019-07-03 12:02:47 +00:00
wasm-js [testrunner] generalize test loader to accept multiple extensions 2019-06-25 12:12:11 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-05-22 14:58:45 +00:00
webkit Revert "Reland "Let all early errors be SyntaxErrors."" 2019-07-03 12:47:41 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS [owners] Make test/ owned by COMMON_OWNERS 2019-06-06 20:56:09 +00:00