• Manos Koukoutos's avatar
    [wasm-gc] Implement function subtyping · e1cae86e
    Manos Koukoutos authored
    Changes:
    - Implement function subtyping in wasm-subtyping.cc.
    - Add Signature::Build(), which takes initializer lists for the return
      and parameter types.
    - Only throw kTrapFuncSigMismatch in call_indirect, change that trap's
      message.
    - Add a missing "return 0" in function-body-decoder-impl.h
    - Fix a faulty check in wasm-objects.cc.
    - Improve some comments.
    - Write tests. Improve readability of subtyping-unittest.
    
    Bug: v8:7748
    Change-Id: I1caba09d5bd01cfd4d6125f300cd9c16af7aba99
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2822633Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73972}
    e1cae86e
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
control-transfer-unittest.cc Loading commit data...
decoder-unittest.cc Loading commit data...
function-body-decoder-unittest.cc Loading commit data...
leb-helper-unittest.cc Loading commit data...
liftoff-register-unittests.cc Loading commit data...
loop-assignment-analysis-unittest.cc Loading commit data...
module-decoder-memory64-unittest.cc Loading commit data...
module-decoder-unittest.cc Loading commit data...
simd-shuffle-unittest.cc Loading commit data...
streaming-decoder-unittest.cc Loading commit data...
subtyping-unittest.cc Loading commit data...
trap-handler-posix-unittest.cc Loading commit data...
trap-handler-win-unittest.cc Loading commit data...
trap-handler-x64-unittest.cc Loading commit data...
wasm-code-manager-unittest.cc Loading commit data...
wasm-compiler-unittest.cc Loading commit data...
wasm-gdbserver-unittest.cc Loading commit data...
wasm-macro-gen-unittest.cc Loading commit data...
wasm-module-builder-unittest.cc Loading commit data...
wasm-module-sourcemap-unittest.cc Loading commit data...