[Webkit-unassigned] [Bug 233444] New: [WASM-Function-References] Simplify representation of Wasm Type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 23 03:40:54 PST 2021


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

            Bug ID: 233444
           Summary: [WASM-Function-References] Simplify representation of
                    Wasm Type
           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: dbezhetskov at igalia.com

Wasm Type has weird ballast called signature index, actually there is no such field in the wasm spec - https://github.com/WebAssembly/function-references/blob/master/proposals/function-references/Overview.md.
Signature index was introduced to implement `call_ref` instruction because there wasn't an ability to get Signature from the obtained type.
In this bug this ability is introduced and we can simplify Type to the form <kind, nullability, typeIndex>, where typeIndex is an index in Wasm Type section.
This will simplify subsequent work for new Wasm types like struct or arrays.

-- 
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/20211123/03a4392f/attachment.htm>


More information about the webkit-unassigned mailing list