Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 019197a914ea9daddfabf8b327aa5f8abb03c2b7
      
https://github.com/WebKit/WebKit/commit/019197a914ea9daddfabf8b327aa5f8abb03c2b7
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSArray.cpp
    M Source/JavaScriptCore/runtime/JSArrayInlines.h

  Log Message:
  -----------
  [JSC] Refactor `containsHole` using `WTF::find64`
https://bugs.webkit.org/show_bug.cgi?id=292087

Reviewed by Yusuke Suzuki.

This patch changes to refactor `containsHole` using `WTF::find64`
for `ArrayWithInt32` and `ArrayWithContiguous`.

* Source/JavaScriptCore/runtime/JSArray.cpp:
(JSC::JSArray::unshiftCountWithAnyIndexingType):
(JSC::tryCloneArrayFromFast):
* Source/JavaScriptCore/runtime/JSArrayInlines.h:
(JSC::containsHole):

Canonical link: https://commits.webkit.org/294146@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