Wasm GC proposal introduces struct types in the MVP: https://github.com/WebAssembly/gc/blob/master/proposals/gc/MVP.md. So, this is a first step to support them - support encoding scheme.
Created attachment 444952 [details] Patch
This patch modifies one of the wasm.json files. Please ensure that any changes in one have been mirrored to the other. You can find the wasm.json files at "Source/JavaScriptCore/wasm/wasm.json" and "JSTests/wasm/wasm.json".
Created attachment 444953 [details] Patch
<rdar://problem/85804675>
Created attachment 446138 [details] Patch
Created attachment 446145 [details] Patch
Created attachment 446146 [details] Patch
I think we can likely close this bug now
Yeah this looks pretty closable, we have had handling for WASM GC types and opcodes for months. Resolving as a dupe of https://bugs.webkit.org/show_bug.cgi?id=263026. *** This bug has been marked as a duplicate of bug 263026 ***