| Summary: | [Wasm-GC] Add support for recursion groups | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Asumu Takikawa <asumu> | ||||||||
| Component: | WebAssembly | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bashorov, commit-queue, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=244061 | ||||||||||
| Bug Depends on: | 244062 | ||||||||||
| Bug Blocks: | 247394 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Asumu Takikawa
2022-04-22 12:23:43 PDT
Created attachment 458174 [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". I've marked this for review now since EWS is looking green. If this patch lands after more Wasm GC struct patches land, it will likely need to change to also put in type expansion in appropriate places for struct operations. (if it lands before, then the struct patches should change for the same reason) I'm rebasing this now on top of recent Wasm GC patches that landed (there are some conflicts). The patch also needs some modification because I found a bug in the GC reference interpreter (https://github.com/WebAssembly/gc/issues/290), which changes some of expectations for test cases. (Specifically, function signatures should be tracked as type indices in more places because, e.g., import or call_indirect signature checks need to use the type index of the recursion group projection instead of just the underlying function) Created attachment 458536 [details]
Patch
Created attachment 458895 [details]
Patch
Rebased and made some small refactorings to prepare it better for the `sub` type patch. I've also mostly finished a patch for sub types, which I'll upload after `rec` types land. Pull request: https://github.com/WebKit/WebKit/pull/740 Committed 253491@main (5f3859595e5e): <https://commits.webkit.org/253491@main> Reviewed commits have been landed. Closing PR #740 and removing active labels. Re-opened since this is blocked by bug 244062 Pull request: https://github.com/WebKit/WebKit/pull/3599 Committed 253736@main (38c77df13331): <https://commits.webkit.org/253736@main> Reviewed commits have been landed. Closing PR #3599 and removing active labels. |