[Webkit-unassigned] [Bug 261640] New: [Wasm-GC] Clean up deftype representation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 16 12:36:44 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261640

            Bug ID: 261640
           Summary: [Wasm-GC] Clean up deftype representation
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: asumu at igalia.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230916/d3e6809c/attachment.htm>


More information about the webkit-unassigned mailing list