Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 17a3c273e1f856361a0c9eb752b699fde3d0e9ae
      
https://github.com/WebKit/WebKit/commit/17a3c273e1f856361a0c9eb752b699fde3d0e9ae
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/ArrayPrototype.cpp

  Log Message:
  -----------
  [JSC] Refactor `Array#splice` using `argumentClampedIndexFromStartOrEnd`
https://bugs.webkit.org/show_bug.cgi?id=291152

Reviewed by Yusuke Suzuki.

This patch includes two changes:

1. Adds `relativeNegativeIndex` template type param to 
`argumentClampedIndexFromStartOrEnd`
2. Refactors `Array#splice` using `argumentClampedIndexFromStartOrEnd`

* Source/JavaScriptCore/runtime/ArrayPrototype.cpp:
(JSC::argumentClampedIndexFromStartOrEnd):
(JSC::JSC_DEFINE_HOST_FUNCTION):

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