Bug 247399 - [Wasm-GC] Implement cast operations
Summary: [Wasm-GC] Implement cast operations
Status: RESOLVED FIXED
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-11-02 18:17 PDT by Asumu Takikawa
Modified: 2023-03-09 09:25 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Asumu Takikawa 2022-11-02 18:17:52 PDT
The Wasm GC proposal has several cast operations that need to be implemented: https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md#casts

Of these, `ref.test` and `ref.cast` in particular require us to add more type information to representations of datatypes such as functions, structs, and arrays to enable casting to concrete types.
Comment 1 Radar WebKit Bug Importer 2022-11-09 17:18:20 PST
<rdar://problem/102168772>
Comment 2 Asumu Takikawa 2023-01-31 14:10:53 PST
Pull request: https://github.com/WebKit/WebKit/pull/9406
Comment 3 EWS 2023-03-09 09:25:52 PST
Committed 261445@main (0e2cbf8c3d8e): <https://commits.webkit.org/261445@main>

Reviewed commits have been landed. Closing PR #9406 and removing active labels.