Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c8b25059c174013852d7937217d9d982f4cdf81
      
https://github.com/WebKit/WebKit/commit/9c8b25059c174013852d7937217d9d982f4cdf81
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M Source/JavaScriptCore/builtins/TypedArrayPrototype.js
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h
    M Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp

  Log Message:
  -----------
  [JSC] Implement TypedArray#find and TypedArray#findIndex in C++
https://bugs.webkit.org/show_bug.cgi?id=291908
rdar://149795453

Reviewed by Sosuke Suzuki.

Use TypedArray#forEach's primitive and implement find and findIndex in
C++.

* Source/JavaScriptCore/builtins/TypedArrayPrototype.js:
(find): Deleted.
(findIndex): Deleted.
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
(JSC::genericTypedArrayViewProtoFuncFind):
(JSC::genericTypedArrayViewProtoFuncFindIndex):
* Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::JSTypedArrayViewPrototype::finishCreation):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to