Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 301b227d6dedf0e9a366d6c87f61d1ffc7626e74
https://github.com/WebKit/WebKit/commit/301b227d6dedf0e9a366d6c87f61d1ffc7626e74
Author: Chris Dumez <[email protected]>
Date: 2026-03-26 (Thu, 26 Mar 2026)
Changed paths:
M Source/JavaScriptCore/assembler/ARMv7Assembler.h
M Source/JavaScriptCore/b3/B3LowerToAir.cpp
M Source/JavaScriptCore/b3/B3ReduceStrength.cpp
M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
M Source/WTF/wtf/BitSet.h
M Source/WTF/wtf/BitVector.cpp
M Source/WTF/wtf/BitVector.h
M Source/WTF/wtf/FastBitVector.h
M Source/WTF/wtf/StdLibExtras.h
M Source/WebCore/contentextensions/Term.h
Log Message:
-----------
Adopt C++20's std::popcount()
https://bugs.webkit.org/show_bug.cgi?id=310796
Reviewed by Anne van Kesteren.
Adopt C++20's std::popcount():
- https://en.cppreference.com/w/cpp/numeric/popcount.html
* Source/JavaScriptCore/assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::pop):
(JSC::ARMv7Assembler::push):
* Source/JavaScriptCore/b3/B3LowerToAir.cpp:
* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:
* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* Source/WTF/wtf/BitSet.h:
(WTF::WordType>::count const):
* Source/WTF/wtf/BitVector.cpp:
(WTF::BitVector::bitCountSlow const):
* Source/WTF/wtf/BitVector.h:
* Source/WTF/wtf/FastBitVector.h:
(WTF::FastBitVectorImpl::bitCount const):
* Source/WTF/wtf/StdLibExtras.h:
(WTF::bitCount): Deleted.
* Source/WebCore/contentextensions/Term.h:
(WebCore::ContentExtensions::Term::CharacterSet::bitCount const):
Canonical link: https://commits.webkit.org/309986@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications