Bug 264649
Summary: | [WASM-Function-References] call_ref should subtype-check its arguments | ||
---|---|---|---|
Product: | WebKit | Reporter: | Asumu Takikawa <asumu> |
Component: | WebAssembly | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bashorov, justin_michaud, keith_miller, mark.lam, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 247393 |
Asumu Takikawa
Right now call_ref uses type equality rather than subtyping to check its argument types
Example program that fails:
(module
(func (param eqref))
(global (ref 0) (ref.func 0))
(func (call_ref 0 (ref.i31 (i32.const 42)) (global.get 0)))
)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/118588656>
Asumu Takikawa
Pull request: https://github.com/WebKit/WebKit/pull/21353
EWS
Committed 271780@main (c64fed2494ab): <https://commits.webkit.org/271780@main>
Reviewed commits have been landed. Closing PR #21353 and removing active labels.