[Webkit-unassigned] [Bug 260542] New: Wasm element segment vector items should allow more constant expressions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 22 14:12:43 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=260542
Bug ID: 260542
Summary: Wasm element segment vector items should allow more
constant expressions
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: asumu at igalia.com
Right now a Wasm module element segment's initialization vector can only contain either `ref.func` or `ref.null`.
This fails for test examples such as the following from the extended const proposal repo:
https://github.com/WebAssembly/extended-const/blob/7612271a72f00e2b385a98a7f79a031f94fb77e6/test/core/elem.wast#L680
(this particular test doesn't actually depend on extended constant expressions, it should parse in current Wasm)
The Wasm spec allows `global.get` to appear in the element vector:
https://webassembly.github.io/spec/core/valid/instructions.html#constant-expressions
In the future, there will be other kinds of elements that will be legal with the GC proposal.
--
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/20230822/9f2f193e/attachment.htm>
More information about the webkit-unassigned
mailing list