Bug 278493

Summary: [WASM] Elements should assume non-null function reference type when appropriate
Product: WebKit Reporter: David Degazio <d_degazio>
Component: JavaScriptCoreAssignee: 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
Reported 2024-08-21 14:43:24 PDT
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
Radar WebKit Bug Importer
Comment 1 2024-08-21 14:43:35 PDT
David Degazio
Comment 2 2024-08-21 14:53:03 PDT
EWS
Comment 3 2024-08-22 11:39:08 PDT
Committed 282628@main (1af666fca2f0): <https://commits.webkit.org/282628@main> Reviewed commits have been landed. Closing PR #32552 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.