NEW 261640
[Wasm-GC] Clean up deftype representation
https://bugs.webkit.org/show_bug.cgi?id=261640
Summary [Wasm-GC] Clean up deftype representation
Asumu Takikawa
Reported 2023-09-16 12:36:44 PDT
Currently `TypeKind` in Wasm includes values that aren't really types, such as `Rec` and `Sub`. This was done as function type definitions `Func` were already represented this way. As more type definitions are added, this becomes unwieldly for any code that needs to case-dispatch over type kinds. It might be a good idea to separate this out into its own enumeration, such as `DefinedTypeKind` or similar.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-23 12:37:14 PDT
Note You need to log in before you can comment on or make changes to this bug.