v8/test
Manos Koukoutos 2e357c4814 [wasm-gc] Introduce wasm null object
We introduce a wasm null object, separate from JS null. Its purpose is
to support trapping null accesses for wasm objects.
This will be achieved by allocating a large payload for it (larger than
any wasm struct) and memory-protecting it (see linked CL). The two null
objects get mapped to each other at the wasm-JS boundary.
Since externref objects live on the JS side of the boundary,
null-related instructions in wasm now need an additional type argument
to handle the correct null object.

Bug: v8:7748
Change-Id: I06da00fcd279cc5376e69ab7858e3782f5b5081e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4200639
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85648}
2023-02-03 16:06:12 +00:00
..
benchmarks Microoptimizations in FastDtoa. 2022-12-16 15:03:39 +00:00
bigint [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
cctest [wasm-gc] Introduce wasm null object 2023-02-03 16:06:12 +00:00
common [wasm][test][cleanup] Use more base::Vector 2023-02-03 09:37:34 +00:00
debugger [test] Include shard info in test records 2023-01-23 09:50:01 +00:00
debugging [test] Include shard info in test records 2023-01-23 09:50:01 +00:00
fuzzer [wasm][test][cleanup] Use more base::Vector 2023-02-03 09:37:34 +00:00
fuzzilli [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
inspector [test][inspector] Add inspector test for RegExp v-flag 2023-02-03 11:34:10 +00:00
intl [test] Include shard info in test records 2023-01-23 09:50:01 +00:00
js-perf-test [perf] Add file to js-perf-test resources list 2023-01-11 10:50:45 +00:00
memory
message [test] Include shard info in test records 2023-01-23 09:50:01 +00:00
mjsunit [wasm-gc] Introduce wasm null object 2023-02-03 16:06:12 +00:00
mkgrokdump [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
mozilla [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
test262 [builtins] Update Array.p.toLocaleString to follow ECMA402 2023-02-01 12:07:02 +00:00
torque
unittests [regexp] Add UseCounter for invalid regexp with /v, but valid with /u 2023-02-03 09:49:49 +00:00
wasm-api-tests [wasm-gc] Final types 2022-12-20 14:03:30 +00:00
wasm-js [wasm] Update spec tests 2023-01-11 19:59:14 +00:00
wasm-spec-tests [wasm-spec-tests] Document failed memory64 tests 2023-01-24 15:16:19 +00:00
webkit [test] Include shard info in test records 2023-01-23 09:50:01 +00:00
BUILD.gn Configure PGO builders 2023-01-27 13:54:32 +00:00
OWNERS