[webkit-changes] [WebKit/WebKit] fa6476: Update WTF::copyElements() to take in spans

Chris Dumez noreply at github.com
Mon Feb 3 07:09:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fa6476f64a4d70ad7fa219da9ab47a13f2178adf
      https://github.com/WebKit/WebKit/commit/fa6476f64a4d70ad7fa219da9ab47a13f2178adf
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewInlines.h
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h
    M Source/JavaScriptCore/runtime/JSONAtomStringCacheInlines.h
    M Source/JavaScriptCore/runtime/JSONObject.cpp
    M Source/JavaScriptCore/runtime/StableSort.h
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WTF/wtf/text/StringCommon.h
    M Source/WTF/wtf/text/StringImpl.h
    M Tools/TestWebKitAPI/Tests/WTF/StringCommon.cpp

  Log Message:
  -----------
  Update WTF::copyElements() to take in spans
https://bugs.webkit.org/show_bug.cgi?id=286715

Reviewed by Ryosuke Niwa.

* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewInlines.h:
(JSC::JSGenericTypedArrayView<Adaptor>::copyFromInt32ShapeArray):
(JSC::JSGenericTypedArrayView<Adaptor>::copyFromDoubleShapeArray):
(JSC::JSGenericTypedArrayView<Adaptor>::sort):
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
(JSC::genericTypedArrayViewProtoFuncToReversed):
(JSC::genericTypedArrayViewProtoFuncSortImpl):
(JSC::genericTypedArrayViewProtoFuncToSorted):
(JSC::genericTypedArrayViewProtoFuncWith):
* Source/JavaScriptCore/runtime/JSONAtomStringCacheInlines.h:
(JSC::JSONAtomStringCache::make):
* Source/JavaScriptCore/runtime/JSONObject.cpp:
(JSC::bufferMode>::append):
* Source/JavaScriptCore/runtime/StableSort.h:
(JSC::arrayMerge):
(JSC::arrayStableSort):
* Source/WTF/wtf/text/StringCommon.h:
(WTF::copyElements):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::copyCharacters):
* Tools/TestWebKitAPI/Tests/WTF/StringCommon.cpp:
(TestWebKitAPI::TEST(WTF_StringCommon, CopyElements64To8)):
(TestWebKitAPI::TEST(WTF_StringCommon, CopyElements64To16)):
(TestWebKitAPI::TEST(WTF_StringCommon, CopyElements64To32)):
(TestWebKitAPI::TEST(WTF_StringCommon, CopyElements32To16)):

Canonical link: https://commits.webkit.org/289733@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list