Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2bd239bf12a80e3451870af6cd495d8c3715f4f9
https://github.com/WebKit/WebKit/commit/2bd239bf12a80e3451870af6cd495d8c3715f4f9
Author: Fady Farag <[email protected]>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M Source/JavaScriptCore/b3/B3Common.cpp
M Source/JavaScriptCore/b3/B3Common.h
M Source/JavaScriptCore/b3/air/AirCode.cpp
M Source/JavaScriptCore/b3/air/AirCode.h
M Source/JavaScriptCore/dfg/DFGCommon.cpp
M Source/JavaScriptCore/dfg/DFGCommon.h
M Source/JavaScriptCore/ftl/FTLCompile.cpp
M Source/JavaScriptCore/ftl/FTLCompile.h
M Source/JavaScriptCore/runtime/ArrayPrototype.cpp
M Source/JavaScriptCore/runtime/ArrayPrototype.h
M Source/JavaScriptCore/runtime/JSCJSValue.cpp
M Source/JavaScriptCore/runtime/ParseInt.h
M Source/JavaScriptCore/runtime/TemporalObject.cpp
M Source/JavaScriptCore/runtime/temporal/core/TemporalEnums.h
Log Message:
-----------
Use C++17 `inline constexpr` variables instead of `extern const` in
JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=319329
rdar://182145798
Reviewed by Keith Miller.
This lets the compiler see the constant values for better optimization.
* Source/JavaScriptCore/b3/B3Common.cpp:
* Source/JavaScriptCore/b3/B3Common.h:
* Source/JavaScriptCore/b3/air/AirCode.cpp:
* Source/JavaScriptCore/b3/air/AirCode.h:
* Source/JavaScriptCore/dfg/DFGCommon.cpp:
* Source/JavaScriptCore/dfg/DFGCommon.h:
* Source/JavaScriptCore/ftl/FTLCompile.cpp:
* Source/JavaScriptCore/ftl/FTLCompile.h:
* Source/JavaScriptCore/runtime/ArrayPrototype.cpp:
(): Deleted.
* Source/JavaScriptCore/runtime/ArrayPrototype.h:
* Source/JavaScriptCore/runtime/JSCJSValue.cpp:
* Source/JavaScriptCore/runtime/NumberPrototype.cpp:
(JSC::int52ToStringWithRadix):
(JSC::toStringWithRadixInternal):
* Source/JavaScriptCore/runtime/ParseInt.h:
* Source/JavaScriptCore/runtime/TemporalObject.cpp:
* Source/JavaScriptCore/runtime/temporal/core/TemporalEnums.h:
(JSC::WTF::toArray<TemporalUnit>):
Canonical link: https://commits.webkit.org/317148@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications