[webkit-changes] [WebKit/WebKit] b50dbc: REGRESSION(256766 at main): MSVC can't compile WTFBre...

Fujii Hironori noreply at github.com
Thu Nov 17 00:53:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b50dbcc1fdbabc4c10f37acdf1a2ec09c32edf1a
      https://github.com/WebKit/WebKit/commit/b50dbcc1fdbabc4c10f37acdf1a2ec09c32edf1a
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

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

  Log Message:
  -----------
  REGRESSION(256766 at main): MSVC can't compile WTFBreakpointTrapUnderConstexprContext
https://bugs.webkit.org/show_bug.cgi?id=248026

Reviewed by Yusuke Suzuki.

It reports an error:

> JavaScriptCore\runtime\TypedArrayType.h(144): error C3615: constexpr function 'JSC::logElementSize' cannot result in a constant expression
> JavaScriptCore\runtime\TypedArrayType.h(166): note: failure was caused by a statement or an expression that is not valid in a constexpr context

* Source/WTF/wtf/Assertions.h:
(WTFBreakpointTrapUnderConstexprContext) Do nothing for MSVC.

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




More information about the webkit-changes mailing list