Bug 244838 - [WASM-GC] Encode type information in structure for Wasm.Struct not in type field
Summary: [WASM-GC] Encode type information in structure for Wasm.Struct not in type field
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebAssembly (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 247394
  Show dependency treegraph
 
Reported: 2022-09-06 04:29 PDT by Dmitry
Modified: 2022-11-02 17:15 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>