[webkit-changes] [WebKit/WebKit] b54f40: [WTF] Extract and use forEachSetBit in BitVector a...
Yusuke Suzuki
noreply at github.com
Mon Sep 23 15:11:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b54f40faba449f186c14912cebc01a6c02d4710f
https://github.com/WebKit/WebKit/commit/b54f40faba449f186c14912cebc01a6c02d4710f
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-09-23 (Mon, 23 Sep 2024)
Changed paths:
M Source/WTF/wtf/BitSet.h
M Source/WTF/wtf/BitVector.h
M Source/WTF/wtf/StdLibExtras.h
Log Message:
-----------
[WTF] Extract and use forEachSetBit in BitVector and BitSet
https://bugs.webkit.org/show_bug.cgi?id=280149
rdar://136445959
Reviewed by Yijia Huang.
This patch extracts the implementation of forEachSetBit from BitSet and
share it with BitVector.
* Source/WTF/wtf/BitSet.h:
(WTF::WordType>::forEachSetBit const):
* Source/WTF/wtf/BitVector.h:
(WTF::BitVector::forEachSetBit const):
* Source/WTF/wtf/StdLibExtras.h:
(WTF::forEachSetBit):
Canonical link: https://commits.webkit.org/284109@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list