• 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...
assert-scope.cc Loading commit data...
assert-scope.h Loading commit data...
checks.h Loading commit data...
external-pointer-inl.h Loading commit data...
external-pointer.h Loading commit data...
globals.h Loading commit data...
message-template.h Loading commit data...
ptr-compr-inl.h Loading commit data...
ptr-compr.h Loading commit data...