[webkit-changes] [WebKit/WebKit] c2393f: Ensure FixedBitVector's WordType matches the type ...
EWS
noreply at github.com
Fri Jan 27 09:08:33 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c2393f9a46afe8d6e655c81ebf9f7f6ad37026ce
https://github.com/WebKit/WebKit/commit/c2393f9a46afe8d6e655c81ebf9f7f6ad37026ce
Author: Mark Lam <mark.lam at apple.com>
Date: 2023-01-27 (Fri, 27 Jan 2023)
Changed paths:
M Source/WTF/wtf/FixedBitVector.h
M Tools/TestWebKitAPI/Tests/WTF/Bitmap.cpp
Log Message:
-----------
Ensure FixedBitVector's WordType matches the type of BitVector::m_bitsOrPointer.
https://bugs.webkit.org/show_bug.cgi?id=251251
<rdar://problem/104731974>
Reviewed by Yusuke Suzuki.
The rest of FixedBitVector's code relies on this relationship. So, let's make it explicit.
Also, fixed a bug in BitMap's API tests: testBitmapConcurrentTestAndSet() and
testBitmapConcurrentTestAndClear() were exercising testAndSet() and testAndClear()
respectively instead of their concurrent versions. This is now fixed. This issue was
originally found by Yijia Huang in https://bugs.webkit.org/show_bug.cgi?id=250847.
* Source/WTF/wtf/FixedBitVector.h:
* Tools/TestWebKitAPI/Tests/WTF/Bitmap.cpp:
(TestWebKitAPI::testBitmapConcurrentTestAndSet):
(TestWebKitAPI::testBitmapConcurrentTestAndClear):
Canonical link: https://commits.webkit.org/259490@main
More information about the webkit-changes
mailing list