Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 02deabced6f67810c5f8e70ef3d1ee0a1297ac80
      
https://github.com/WebKit/WebKit/commit/02deabced6f67810c5f8e70ef3d1ee0a1297ac80
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

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

  Log Message:
  -----------
  [JSC] Remove unnecessary function call for some `Date` methods
https://bugs.webkit.org/show_bug.cgi?id=287471

Reviewed by Yusuke Suzuki.

`applyToNumberToOtherwiseIgnoredArguments` calls `ToNumber`
for each arguments, so if `argumentCount` is zero, it should
not be called.

* Source/JavaScriptCore/runtime/DatePrototype.cpp:
(JSC::setNewValueFromDateArgs):

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