v8/test
Andreas Haas d56ee2e3df [wasm][anyref] Cache export wrappers per signature
Up until now, we cached export wrappers per export index. With the
anyref proposal potentially many more functions will need export
wrappers, e.g. any function that is stored in a table, and any
function accessed by the new ref.func instruction.

With this CL, we change the caching scheme an do the caching per
signature. Thereby we can guarantee that any export wrapper which
potentially exists can be stored in the cache.

For cctests which use wasm-run-utils, we don't know the size of the
cache anymore ahead of time. However, we assume that no more than
5 signatures will be used in any cctest. If this assumption is not
true, we can just adjust the number.

The cache is now accessed in all code paths where we need an export
wrapper.

Bug: chromium:962850

Change-Id: I32df60dfa7801d1e71f7d837da091f388198af1f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1615247
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61752}
2019-05-22 14:59:50 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [wasm][anyref] Cache export wrappers per signature 2019-05-22 14:59:50 +00:00
common Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
debugger Revert "[test] Skip debugger tests failing with JSON parsing" 2019-05-20 13:58:05 +00:00
fuzzer Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
inspector [wasm] Use new names for instructions 2019-05-21 18:33:21 +00:00
intl [Intl] Intl.NumberFormat Unified API Proposal 2019-05-21 17:23:21 +00:00
js-perf-test [benchmarks] Move Array slice benchmarks to js-perf-test 2019-05-20 09:05:52 +00:00
memory [perf] Refactor the Memory benchmark to use d8 2019-05-06 15:10:57 +00:00
message Reland "[stack-trace] Include API functions in Error.stack stack trace" 2019-05-21 10:40:30 +00:00
mjsunit [turbofan] fix deopt-loop for specuative Boolean to Number conversion 2019-05-22 10:38:39 +00:00
mkgrokdump Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
mozilla Reland "[test] Remove longer timeout on bots" 2019-05-02 13:04:29 +00:00
preparser [test] Don't test jitless without embedded-builtins 2019-02-26 14:33:01 +00:00
test262 [Intl] Intl.NumberFormat Unified API Proposal 2019-05-21 17:23:21 +00:00
torque Add StaticAssert in Torque 2019-05-21 15:39:57 +00:00
unittests [ptr-compr][Turbofan] Adding the TypedStateValues decompress reduction 2019-05-22 12:25:52 +00:00
wasm-js [testrunner] handle timeout param in file 2019-02-27 17:49:17 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-05-22 14:58:45 +00:00
webkit [test] Stress wasm code gc in "stress_background_compile" 2019-05-02 09:56:05 +00:00
BUILD.gn [tools] Implement confidence-based number of runs 2019-05-09 09:42:28 +00:00
OWNERS Clean up infra owners 2019-05-15 11:18:43 +00:00