Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f0a357ab034b8a52a54619b96255860c1263537
https://github.com/WebKit/WebKit/commit/3f0a357ab034b8a52a54619b96255860c1263537
Author: Sergey Rubanov <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M JSTests/wasm/gc/no-gc-structure-transition.js
M Source/JavaScriptCore/tools/JSDollarVM.cpp
Log Message:
-----------
[JSC] Avoid $vm dictionary transitions on Wasm GC objects
https://bugs.webkit.org/show_bug.cgi?id=320759
Reviewed by Keith Miller.
$vm.toCacheableDictionary and $vm.toUncacheableDictionary passed any
JSObject into structure dictionary transitions. Wasm GC objects have no
butterfly, so that hit RELEASE_ASSERT on WebAssemblyGCStructure. Only
convert JSObjectWithButterfly, same as ensureArrayStorage.
* Source/JavaScriptCore/tools/JSDollarVM.cpp:
(JSC::functionToCacheableDictionary):
(JSC::functionToUncacheableDictionary):
* JSTests/wasm/gc/no-gc-structure-transition.js:
(testDollarVMDictionaryHelpers):
Canonical link: https://commits.webkit.org/318552@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications