[Webkit-unassigned] [Bug 287397] Regression: dart2wasm hello world no longer runs after upgrading JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 10 12:47:11 PST 2025


https://bugs.webkit.org/show_bug.cgi?id=287397

--- Comment #3 from Martin Kustermann <kustermann.martin at gmail.com> ---
>From my understanding it's very intentional that the GC extension allows globals to be composed objects of other (previously defined) globals - allowing the creation of DAG like data structure in the globals section.

I can see that there seems to be two different specs
* https://webassembly.github.io/spec/core/valid/instructions.html#constant-expressions
* https://webassembly.github.io/gc/core/valid/instructions.html#constant-expressions

The ladder has a much longer "Constant Expression" section which says
"""
Currently, constant expressions occurring in globals are further constrained in that contained 
instructions are only allowed to refer to imported or previously defined globals. 
...
"""

So the "or previously defined globals" is the key here.

-- 
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/20250210/8c3e8a91/attachment.htm>


More information about the webkit-unassigned mailing list