Bug 278493
| Summary: | [WASM] Elements should assume non-null function reference type when appropriate | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Degazio <d_degazio> |
| Component: | JavaScriptCore | Assignee: | David Degazio <d_degazio> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Degazio
In the section parser, we currently assume element sections have funcref (aka (ref null func)) type in many encodings. This was correct before the GC proposal, but with GC enabled, any form of element that directly includes function indices should have a non-null (ref func) type instead, since referencing an indexed function cannot produce a null reference.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/134447131>
David Degazio
Pull request: https://github.com/WebKit/WebKit/pull/32552
EWS
Committed 282628@main (1af666fca2f0): <https://commits.webkit.org/282628@main>
Reviewed commits have been landed. Closing PR #32552 and removing active labels.