Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cd1f220a274e43962c5267062a1ced7b8873dc29
https://github.com/WebKit/WebKit/commit/cd1f220a274e43962c5267062a1ced7b8873dc29
Author: Fady Farag <[email protected]>
Date: 2026-03-06 (Fri, 06 Mar 2026)
Changed paths:
M Source/JavaScriptCore/runtime/ArrayConstructor.cpp
M Source/JavaScriptCore/runtime/ArrayConstructor.h
M Source/JavaScriptCore/runtime/JSArray.cpp
M Source/JavaScriptCore/runtime/JSArray.h
M Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
M Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h
M Source/JavaScriptCore/runtime/ReflectObject.cpp
M Source/JavaScriptCore/runtime/ReflectObject.h
M Source/JavaScriptCore/runtime/WeakMapPrototype.cpp
M Source/JavaScriptCore/runtime/WeakMapPrototype.h
M Source/JavaScriptCore/runtime/WeakSetPrototype.cpp
M Source/JavaScriptCore/runtime/WeakSetPrototype.h
Log Message:
-----------
Use C++17 inline constexpr variables instead of extern const in
JavaScriptCore/runtime
https://bugs.webkit.org/show_bug.cgi?id=309307
rdar://171849445
Reviewed by Chris Dumez.
This lets the compiler see the constant values for better optimization.
* Source/JavaScriptCore/runtime/ArrayConstructor.cpp:
(): Deleted.
* Source/JavaScriptCore/runtime/ArrayConstructor.h:
* Source/JavaScriptCore/runtime/JSArray.cpp:
(): Deleted.
* Source/JavaScriptCore/runtime/JSArray.h:
* Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:
(): Deleted.
* Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h:
* Source/JavaScriptCore/runtime/ReflectObject.cpp:
(): Deleted.
* Source/JavaScriptCore/runtime/ReflectObject.h:
* Source/JavaScriptCore/runtime/WeakMapPrototype.cpp:
(): Deleted.
* Source/JavaScriptCore/runtime/WeakMapPrototype.h:
* Source/JavaScriptCore/runtime/WeakSetPrototype.cpp:
(): Deleted.
* Source/JavaScriptCore/runtime/WeakSetPrototype.h:
Canonical link: https://commits.webkit.org/308804@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications