Bug 252349

Summary: [Wasm-GC] Allow GC types in globals
Product: WebKit Reporter: Tim Chevalier <tjc>
Component: WebAssemblyAssignee: 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
Reported 2023-02-15 14:49:52 PST
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
Radar WebKit Bug Importer
Comment 1 2023-02-22 14:50:21 PST
Asumu Takikawa
Comment 2 2023-12-12 10:51:31 PST
Closing as this has been fixed already by https://github.com/WebKit/WebKit/pull/17230
Note You need to log in before you can comment on or make changes to this bug.