Bug 254696
Summary: | [Wasm-GC] Add support for new constant expressions | ||
---|---|---|---|
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 Wasm GC proposal adds several new instructions that are constant expressions and can appear in global initializers (https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md#constant-expressions).
The instructions are i31, struct, and array allocation, and extern.externalize/internalize.
The proposal also generalizes global.get use in constant expressions.
It would probably make sense to implement this along with extended const expressions: https://bugs.webkit.org/show_bug.cgi?id=252483
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107680283>
Asumu Takikawa
Pull request: https://github.com/WebKit/WebKit/pull/17230
EWS
Committed 269484@main (2b9318e65c51): <https://commits.webkit.org/269484@main>
Reviewed commits have been landed. Closing PR #17230 and removing active labels.