[webkit-changes] [WebKit/WebKit] 7780fe: Prefer std::copy_n over std::copy
Rose
noreply at github.com
Sat Apr 1 07:54:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7780feb6148591a05d6f4164ec6763dc545b279b
https://github.com/WebKit/WebKit/commit/7780feb6148591a05d6f4164ec6763dc545b279b
Author: Rose <83477269+AtariDreams at users.noreply.github.com>
Date: 2023-04-01 (Sat, 01 Apr 2023)
Changed paths:
M Source/JavaScriptCore/jsc.cpp
M Source/JavaScriptCore/runtime/JSBigInt.cpp
M Source/JavaScriptCore/wasm/WasmParser.h
M Source/WTF/wtf/Vector.h
M Source/WebCore/platform/KeyedCoding.h
Log Message:
-----------
Prefer std::copy_n over std::copy
https://bugs.webkit.org/show_bug.cgi?id=254029
Reviewed by Geoffrey Garen.
We do not have to do the manual addition this way.
* Source/JavaScriptCore/jsc.cpp:(runWithOptions): Prefer std::copy_n
over std::copy.
* Source/JavaScriptCore/runtime/JSBigInt.cpp:(JSBigInt::rightTrim):
Ditto.
* Source/JavaScriptCore/wasm/WasmParser.h:(parseImmByteArray16): Ditto.
* Source/WTF/wtf/Vector.h: Ditto.
* Source/WebCore/platform/KeyedCoding.h:(decodeBytes): Ditto.
Canonical link: https://commits.webkit.org/262478@main
More information about the webkit-changes
mailing list