Bug 269024

Summary: [Wasm-GC] Fix subtype hashing
Product: WebKit Reporter: Asumu Takikawa <asumu>
Component: WebAssemblyAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bashorov, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 247394    

Asumu Takikawa
Reported 2024-02-08 15:47:38 PST
The following test case, that passes the reference interpreter, currently fails: ``` instantiate(` (module (rec (type (sub (struct))) (type (sub final 0 (struct (field i32 (ref 0))))) (type (sub 0 (struct (field i32 (ref 0))))) (type (sub 2 (struct (field i32 (ref 0))))) ;; valid subtype ) ) `); ``` (goes in wasm/gc/sub.js) The bug appears to be that hashing of sub types is slightly wrong and doesn't account for the final flag.
Attachments
Asumu Takikawa
Comment 1 2024-02-08 16:12:10 PST
EWS
Comment 2 2024-02-13 10:12:33 PST
Committed 274555@main (e588a9dece40): <https://commits.webkit.org/274555@main> Reviewed commits have been landed. Closing PR #24106 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-02-13 10:13:15 PST
Note You need to log in before you can comment on or make changes to this bug.