[webkit-changes] [WebKit/WebKit] d13961: Remove old GCC workarounds
Rose
noreply at github.com
Mon Feb 27 07:06:31 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d139619c4a1e761411647d6c27b646e81c80c1b7
https://github.com/WebKit/WebKit/commit/d139619c4a1e761411647d6c27b646e81c80c1b7
Author: Rose <83477269+AtariDreams at users.noreply.github.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M Source/JavaScriptCore/bytecode/InlineAccess.h
M Source/WebCore/PAL/pal/text/TextCodecSingleByte.cpp
M Source/WebCore/bridge/objc/WebScriptObject.mm
M Source/WebCore/bridge/objc/objc_instance.mm
M Source/WebCore/bridge/objc/objc_runtime.mm
Log Message:
-----------
Remove old GCC workarounds
https://bugs.webkit.org/show_bug.cgi?id=252898
Reviewed by Michael Catanzaro.
GCC is not used to compile Objective-C anymore, and GCC now supports
std::max() inside a constexpr function.
Source/JavaScriptCore/bytecode/InlineAccess.h: Make sizeForLengthAccess constexpr
Source/WebCore/PAL/pal/text/TextCodecSingleByte.cpp: Make size constexpr
Source/WebCore/bridge/objc/WebScriptObject.mm:(getListFromNSArray:) Remove gcc 3.3 workaround
Source/WebCore/bridge/objc/objc_instance.mm: Remove const workarounds
Source/WebCore/bridge/objc/objc_runtime.mm: Remove const workaround
Canonical link: https://commits.webkit.org/260883@main
More information about the webkit-changes
mailing list