• Manos Koukoutos's avatar
    [wasm-gc] Fix and extend JS roundtrip for gc types · c9063b7e
    Manos Koukoutos authored
    Changes:
    - Wrap eqref and i31ref objects in the temporary wasm object wrapper
      (in addition to dataref and anyref). Accept those types in
      IsJSCompatibleSignature().
    - Handle null correctly in all cases (i.e., do not wrap/unwrap it).
    - Improve some error messages.
    - Handle kRttWithDepth in one case where it was omitted.
    - Some small structure improvements.
    - Add an extensive test.
    
    Bug: v8:7748, v8:11606
    Change-Id: Ie519f2c87421664dd02cf29fe94f9a9d7510bae2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2794422
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73725}
    c9063b7e
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...