Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d96ff66dafe2b3b46e7000bd4752bb73d5675877
      
https://github.com/WebKit/WebKit/commit/d96ff66dafe2b3b46e7000bd4752bb73d5675877
  Author: Chris Dumez <[email protected]>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M Source/WTF/wtf/BitSet.h
    M Source/WTF/wtf/StdLibExtras.h

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in the WTF::BitSet
https://bugs.webkit.org/show_bug.cgi?id=295594

Reviewed by Darin Adler.

Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in the WTF::BitSet, for safety.
This tested as performance neutral on Speedometer and JetStream.

* Source/WTF/wtf/BitSet.h:
(WTF::WordType>::concurrentTestAndSet):
(WTF::WordType>::concurrentTestAndClear):
(WTF::WordType>::clearAll):
(WTF::WordType>::setAll):
(WTF::WordType>::forEachSetBit const):
* Source/WTF/wtf/StdLibExtras.h:
(WTF::forEachSetBit):

Canonical link: https://commits.webkit.org/297145@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to