[Webkit-unassigned] [Bug 226296] [WASM-Function-References] Add support for (ref null? $t) type constructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 14 12:06:35 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226296

--- Comment #11 from Asumu Takikawa <asumu at igalia.com> ---
Thanks for pointing out these issues! I've pushed a new patch that adds the IC paths in `WebAssemblyFunction.cpp`, and also tests them (by looping for the relevant test cases).

> Does this nullable check happen in Wasm's global set? Can we have a test that ensures this exception happens in wasm too?

This check should not be needed at runtime for global set, because Wasm validation should prevent it from compiling if a null argument is passed. I have added a test case that makes sure this validation happens to the end of `testRefGlobalCheck()`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210614/8255bfb3/attachment.htm>


More information about the webkit-unassigned mailing list