Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 609dd112725b1f884e35aa335d57dc216a992119
https://github.com/WebKit/WebKit/commit/609dd112725b1f884e35aa335d57dc216a992119
Author: Mikhail R. Gadelha <[email protected]>
Date: 2025-10-15 (Wed, 15 Oct 2025)
Changed paths:
M Source/JavaScriptCore/runtime/ISO8601.cpp
M Source/JavaScriptCore/runtime/ISO8601.h
Log Message:
-----------
[JSC] Make isYearWithinLimits constexpr. NFCI.
https://bugs.webkit.org/show_bug.cgi?id=300704
Reviewed by Yusuke Suzuki.
This PR fixes a compilation issue when building jsc for linux arm32 and arm64
in debug mode with gcc 12:
ISO8601.h:269:34: error: call to non-‘constexpr’ function ‘bool
JSC::ISO8601::isYearWithinLimits(double)’
269 | ASSERT(isYearWithinLimits(year) || year == outOfRangeYear);
| ~~~~~~~~~~~~~~~~~~^~~~~~
* Source/JavaScriptCore/runtime/ISO8601.cpp:
(JSC::ISO8601::isYearWithinLimits): Deleted.
* Source/JavaScriptCore/runtime/ISO8601.h:
Canonical link: https://commits.webkit.org/301549@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes