Bug 244838

Summary: [WASM-GC] Encode type information in structure for Wasm.Struct not in type field
Product: WebKit Reporter: Dmitry <dbezhetskov>
Component: WebAssemblyAssignee: Nobody <webkit-unassigned>
Status: NEW    
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    

Dmitry
Reported 2022-09-06 04:29:13 PDT
Right now WebAssembly.Structs have a type field that used to calculate offset of fields, to calculate struct size and etc but this information can be encoded directly inside a structure field of Wasm.Struct. So, it would be nice to deduplicate type info and use structure field rather than m_type field.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-09-13 04:30:22 PDT
Note You need to log in before you can comment on or make changes to this bug.