Bug 251039
| Summary: | [Wasm-GC] Add extern.internalize/externalize | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Asumu Takikawa <asumu> |
| Component: | WebAssembly | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 247394 | ||
Asumu Takikawa
The extern.internalize/externalize instructions are used to explicitly convert between the externref type and values in the anyref hierarchy. https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md#external-conversion
Currently this isn't implemented, so no anyref values can be exported externally. The conversions done by these instructions will also be implicitly used at the Wasm-JS boundary, whenever a conversion is needed by the JS API (e.g., for function calls between the languages).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/104836882>
Asumu Takikawa
Pull request: https://github.com/WebKit/WebKit/pull/11666
EWS
Committed 262282@main (e537d9e945bc): <https://commits.webkit.org/262282@main>
Reviewed commits have been landed. Closing PR #11666 and removing active labels.