[webkit-changes] [WebKit/WebKit] bcfb52: [JSC] Make PNaN constexpr
Yusuke Suzuki
noreply at github.com
Tue Aug 6 08:29:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bcfb5261a371b8dc72a65a999e6f6d9933373ccd
https://github.com/WebKit/WebKit/commit/bcfb5261a371b8dc72a65a999e6f6d9933373ccd
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-08-06 (Tue, 06 Aug 2024)
Changed paths:
M Source/JavaScriptCore/API/tests/testapi.cpp
M Source/JavaScriptCore/b3/air/testair.cpp
M Source/JavaScriptCore/runtime/PureNaN.h
M Source/JavaScriptCore/wasm/js/JSToWasm.cpp
M Source/WebCore/testing/TypeConversions.h
Log Message:
-----------
[JSC] Make PNaN constexpr
https://bugs.webkit.org/show_bug.cgi?id=277677
rdar://133276528
Reviewed by Keith Miller and Justin Michaud.
Use C++20 std::bit_cast to make PNaN constexpr.
* Source/JavaScriptCore/API/tests/testapi.cpp:
(TestAPI::testBigInt):
* Source/JavaScriptCore/b3/air/testair.cpp:
* Source/JavaScriptCore/runtime/PureNaN.h:
(JSC::isImpureNaN):
(JSC::purifyNaN):
(JSC::pureNaN): Deleted.
* Source/JavaScriptCore/wasm/js/JSToWasm.cpp:
(JSC::Wasm::marshallJSResult):
* Source/WebCore/testing/TypeConversions.h:
(WebCore::TypeConversions::testPureNaNUnrestrictedDouble const):
Canonical link: https://commits.webkit.org/281891@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