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    

Description Dmitry 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.
Comment 1 Radar WebKit Bug Importer 2022-09-13 04:30:22 PDT
<rdar://problem/99865209>