Bug 252349
Summary: | [Wasm-GC] Allow GC types in globals | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Chevalier <tjc> |
Component: | WebAssembly | Assignee: | Asumu Takikawa <asumu> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | justin_michaud, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=251041 https://bugs.webkit.org/show_bug.cgi?id=251874 |
||
Bug Depends on: | |||
Bug Blocks: | 247394, 253029 |
Tim Chevalier
The following is rejected currently:
```
(module
(type $vec (array f32))
(global (ref $vec) (array.new_canon $vec (f32.const 1) (i32.const 3))))
```
Constant expressions with array or struct types should be allowed to appear as global initializers.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105800529>
Asumu Takikawa
Closing as this has been fixed already by https://github.com/WebKit/WebKit/pull/17230