Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 310c6dbf3ff6da547cbf9a97b6e0162c80b4f7d2
https://github.com/WebKit/WebKit/commit/310c6dbf3ff6da547cbf9a97b6e0162c80b4f7d2
Author: Yusuke Suzuki <[email protected]>
Date: 2026-05-13 (Wed, 13 May 2026)
Changed paths:
M LayoutTests/inspector/animation/lifecycle-css-animation-expected.txt
M LayoutTests/media/media-session/actionHandlerInternalMappings-expected.txt
M Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp
M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
M Source/JavaScriptCore/ftl/FTLOutput.cpp
M Source/JavaScriptCore/ftl/FTLOutput.h
M Source/JavaScriptCore/jit/AssemblyHelpers.cpp
M Source/JavaScriptCore/jit/AssemblyHelpers.h
M Source/JavaScriptCore/runtime/HashMapHelper.h
M Source/JavaScriptCore/runtime/WeakMapImplInlines.h
M Source/WTF/wtf/HashFunctions.h
M Source/WebCore/Modules/geolocation/Geolocation.h
M Tools/TestWebKitAPI/Tests/WTF/HashCountedSet.cpp
M Tools/TestWebKitAPI/Tests/WTF/HashMap.cpp
M Tools/TestWebKitAPI/Tests/WTF/RobinHoodHashMap.cpp
Log Message:
-----------
Use modern integer hash
https://bugs.webkit.org/show_bug.cgi?id=314709
rdar://176954746
Reviewed by Yijia Huang.
We update our integer hash function with modern ones.
We use rapidhash "mum" mixing for that.
* LayoutTests/inspector/animation/lifecycle-css-animation-expected.txt:
* LayoutTests/media/media-session/actionHandlerInternalMappings-expected.txt:
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):
* Source/JavaScriptCore/ftl/FTLOutput.cpp:
(JSC::FTL::Output::uMulHigh):
* Source/JavaScriptCore/ftl/FTLOutput.h:
* Source/JavaScriptCore/jit/AssemblyHelpers.cpp:
(JSC::AssemblyHelpers::rapidHashMix64):
(JSC::AssemblyHelpers::wangsInt64Hash): Deleted.
* Source/JavaScriptCore/jit/AssemblyHelpers.h:
* Source/JavaScriptCore/runtime/HashMapHelper.h:
(JSC::rapidHashMix64):
(JSC::jsMapHashImpl):
(JSC::concurrentJSMapHash):
(JSC::wangsInt64Hash): Deleted.
* Source/JavaScriptCore/runtime/WeakMapImplInlines.h:
(JSC::jsWeakMapHash):
* Source/WTF/wtf/HashFunctions.h:
(WTF::intHash):
* Source/WebCore/Modules/geolocation/Geolocation.h:
* Tools/TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
(TestWebKitAPI::TEST(WTF_HashCountedSet, DoubleHashCollisions)):
(TestWebKitAPI::TEST(WTF_HashCountedSet, DoubleHashCollisionsInitialCount)):
* Tools/TestWebKitAPI/Tests/WTF/HashMap.cpp:
(TestWebKitAPI::TEST(WTF_HashMap, DoubleHashCollisions)):
* Tools/TestWebKitAPI/Tests/WTF/RobinHoodHashMap.cpp:
(TestWebKitAPI::TEST(WTF_RobinHoodHashMap, DoubleHashCollisions)):
Canonical link: https://commits.webkit.org/313224@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications