WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
278493
[WASM] Elements should assume non-null function reference type when appropriate
https://bugs.webkit.org/show_bug.cgi?id=278493
Summary
[WASM] Elements should assume non-null function reference type when appropriate
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-08-21 14:43:35 PDT
<
rdar://problem/134447131
>
David Degazio
Comment 2
2024-08-21 14:53:03 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32552
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.
Top of Page
Format For Printing
XML
Clone This Bug