Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8cbe7ed1741563488b74536fb60162f6f73b0b54
https://github.com/WebKit/WebKit/commit/8cbe7ed1741563488b74536fb60162f6f73b0b54
Author: Sergey Rubanov <[email protected]>
Date: 2026-10-12 (Mon, 12 Oct 2026)
Changed paths:
M JSTests/wasm/gc/rec.js
M Source/JavaScriptCore/wasm/WasmSectionParser.cpp
M Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp
Log Message:
-----------
[JSC][Wasm] Make one-type rec groups match the shorthand form
https://bugs.webkit.org/show_bug.cgi?id=326579
Reviewed by Yusuke Suzuki.
A type written without rec is a one-type recursion group. The explicit
rec spelling of a self-referential type went through
canonicalizeRecursionGroup, so ref.test treated it as a different type
from the shorthand. Both spellings now use canonicalizeSingleton.
Groups of two or more stay on the recursion-group table.
* JSTests/wasm/gc/rec.js:
* Source/JavaScriptCore/wasm/WasmSectionParser.cpp:
(JSC::Wasm::SectionParser::parseRecursionGroup):
* Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp:
(JSC::Wasm::TypeInformation::canonicalizeRecursionGroupImpl):
Canonical link: https://commits.webkit.org/323455@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications