Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6fbae40455e736badcdd2f44b6062460668866cb
https://github.com/WebKit/WebKit/commit/6fbae40455e736badcdd2f44b6062460668866cb
Author: Yusuke Suzuki <[email protected]>
Date: 2026-08-19 (Wed, 19 Aug 2026)
Changed paths:
M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
M Source/JavaScriptCore/ftl/FTLOperations.cpp
M Source/JavaScriptCore/ftl/FTLOperations.h
Log Message:
-----------
[JSC] Use StringSwitch with resolved rope strings in FTL
https://bugs.webkit.org/show_bug.cgi?id=322144
rdar://185366501
Reviewed by Yijia Huang.
FTL StringSwitch is really efficient for non atom strings, so let's use
it even for resolved rope strings. When we encounter a rope string, we
call a function and resolve them. If it is 8bit string, then returning a
data pointer so that we can use FTL StringSwitch with it.
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):
* Source/JavaScriptCore/ftl/FTLOperations.cpp:
(JSC::FTL::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
* Source/JavaScriptCore/ftl/FTLOperations.h:
Canonical link: https://commits.webkit.org/319501@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications