Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 17d713c71a5015abb9c3a2deb863e507a0d08d86
https://github.com/WebKit/WebKit/commit/17d713c71a5015abb9c3a2deb863e507a0d08d86
Author: Yusuke Suzuki <[email protected]>
Date: 2026-01-28 (Wed, 28 Jan 2026)
Changed paths:
M Source/JavaScriptCore/b3/B3LowerMacros.cpp
Log Message:
-----------
[JSC] Use isFinalType in WasmRefCastValue
https://bugs.webkit.org/show_bug.cgi?id=306409
rdar://169073224
Reviewed by Sosuke Suzuki.
Previously, we were not using it since we needed to load a RTT from
Structure, and if structure is embedding some of them, then
`targetRTT->displaySizeExcludingThis() < Wasm::RTT::inlinedDisplaySize`
path is the optimal form. But now we start having `m_rtt` directly in
WebAssemblyGCStructure. So for the isFinalType case, just comparing with
the targetRTT is the fastest form. We introduce this optimization.
* Source/JavaScriptCore/b3/B3LowerMacros.cpp:
Canonical link: https://commits.webkit.org/306340@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications