[webkit-changes] [WebKit/WebKit] 8dfa8c: Promote debug assertion to release assertion for m...

Chris Dumez noreply at github.com
Mon Mar 25 23:38:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8dfa8c35be20695dca2005967793b58c9e6fb686
      https://github.com/WebKit/WebKit/commit/8dfa8c35be20695dca2005967793b58c9e6fb686
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    M Source/WTF/wtf/Ref.h
    M Source/WTF/wtf/RefPtr.h
    M Source/WTF/wtf/WeakPtr.h
    M Source/WTF/wtf/WeakRef.h

  Log Message:
  -----------
  Promote debug assertion to release assertion for more downcast<>() overloads on Intel
https://bugs.webkit.org/show_bug.cgi?id=271686

Reviewed by Darin Adler and Anne van Kesteren.

Promote debug assertion to release assertion for more downcast<>() overloads on Intel,
to match ARM. This is performance neutral on the benchmarks we track.

* Source/WTF/wtf/Ref.h:
(WTF::downcast):
* Source/WTF/wtf/RefPtr.h:
(WTF::downcast):
* Source/WTF/wtf/WeakPtr.h:
(WTF::downcast):
* Source/WTF/wtf/WeakRef.h:
(WTF::downcast):

Canonical link: https://commits.webkit.org/276675@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