v8/test
Michael Starzinger e893eb1403 [wasm] Support encoding reference types in exceptions.
This adds support for having reference type values (i.e. anyref) stored
in an exception. It is the natural combination of the reference type
proposal and the exception handling proposal.

Note that this also introduces support for having write barriers in
generated WasmCode, as this is the first time we are storing references
within generated code. Such write barriers will be needed for other uses
of reference types (e.g. mutable global) regardless.

R=clemensh@chromium.org
TEST=mjsunit/wasm/exceptions-anyref
BUG=v8:8341

Change-Id: I1211d4a850954622cb873eede0b4024fecc3dd8b
Reviewed-on: https://chromium-review.googlesource.com/c/1296484
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56995}
2018-10-25 15:44:29 +00:00
..
benchmarks [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
cctest Reland "[ia32] Remove poisoning logic on ia32" 2018-10-25 12:45:55 +00:00
common [wasm] Use getter for WasmResult::value 2018-10-19 14:32:02 +00:00
debugger [test] Skip slow tests on arm simulators 2018-10-17 08:52:47 +00:00
fuzzer [wasm] Do not store ModuleEnv 2018-10-23 12:47:14 +00:00
inspector [tools] Move path-specific try-builders to the CQ config 2018-10-24 13:52:21 +00:00
intl [Intl] Add "position" to the return of next() 2018-10-24 18:25:41 +00:00
js-perf-test Extend Array.from micro-benchmarks. 2018-10-24 14:17:51 +00:00
memory [snapshot] Add tracking for read-only snapshot size. 2018-10-23 13:34:13 +00:00
message [parser] Token-range-check for callable identifier tokens 2018-10-17 10:21:44 +00:00
mjsunit [wasm] Support encoding reference types in exceptions. 2018-10-25 15:44:29 +00:00
mkgrokdump [cleanup] Cleanup IMMORTAL_IMMOVABLE_ROOT_LIST 2018-10-09 09:05:37 +00:00
mozilla [test] Add more test suites to Android testing 2018-09-07 09:53:15 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 [d8] only add arguments object if arguments are provided 2018-10-23 11:46:53 +00:00
torque [torque] add test for loop that only exits from the middle 2018-10-24 10:05:42 +00:00
unittests [wasm] Store WasmEngine in NativeModule 2018-10-25 14:18:01 +00:00
wasm-js Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00
wasm-spec-tests [wasm] Update wasm spec tests 2018-10-23 08:57:08 +00:00
webkit [class] Ship instance and static public class fields 2018-10-18 18:14:52 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00