[webkit-changes] [WebKit/WebKit] 42c42a: Unreviewed, SpeculationMapping must be constexpr

Yusuke Suzuki noreply at github.com
Wed Aug 16 18:33:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42c42a46492a0cdb3dab4db36104a62317de6a06
      https://github.com/WebKit/WebKit/commit/42c42a46492a0cdb3dab4db36104a62317de6a06
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M Source/JavaScriptCore/bytecode/SpeculatedType.cpp

  Log Message:
  -----------
  Unreviewed, SpeculationMapping must be constexpr
https://bugs.webkit.org/show_bug.cgi?id=260323
rdar://113999888

This must be constexpr. So, reverting 266668 at main, and use manual filling instead of std::array::fill.
However, std::array::fill should be constexpr in C++20, so it should be investigated by Windows folks.

* Source/JavaScriptCore/bytecode/SpeculatedType.cpp:
(JSC::=):

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




More information about the webkit-changes mailing list