[webkit-changes] [WebKit/WebKit] 105163: Add RELEASE_ASSERT() type check to downcast<>() on...

Chris Dumez noreply at github.com
Fri Mar 22 09:20:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 105163950fa364aba7685c4077061930da3251ec
      https://github.com/WebKit/WebKit/commit/105163950fa364aba7685c4077061930da3251ec
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M Source/WTF/wtf/TypeCasts.h

  Log Message:
  -----------
  Add RELEASE_ASSERT() type check to downcast<>() on Intel
https://bugs.webkit.org/show_bug.cgi?id=271470

Reviewed by Darin Adler.

Add RELEASE_ASSERT() type check to downcast<>() on Intel, to match what we
already do on ARM. This tested as performance neutral on the benchmarks we
track.

* Source/WTF/wtf/TypeCasts.h:
(WTF::downcast):

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