Bug 242261 - [Wasm-GC] Introduce i31ref types
Summary: [Wasm-GC] Introduce i31ref types
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-07-01 13:24 PDT by Asumu Takikawa
Modified: 2022-11-02 17:15 PDT (History)
3 users (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-07-01 13:24:48 PDT
The Wasm GC proposal (https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md) has a notion of "i31refs", which are a 31-bit integer type that shares its representation with other reference types. It can be used for compiling languages that need a uniform representation for both unboxed integers and compound types.

This bug is for the type representation for i31refs and adding i31ref as a new reference type.
Comment 1 Asumu Takikawa 2022-07-07 16:08:44 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2202
Comment 2 Radar WebKit Bug Importer 2022-07-08 13:25:12 PDT
<rdar://problem/96692853>
Comment 3 EWS 2022-07-21 08:20:55 PDT
Committed 252688@main (2215792e9a8d): <https://commits.webkit.org/252688@main>

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