Bug 287471

Summary: [JSC] Remove unnecessary function call for some `Date` methods
Product: WebKit Reporter: Sosuke Suzuki <aosukeke>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Sosuke Suzuki
Reported 2025-02-10 23:29:53 PST
`applyToNumberToOtherwiseIgnoredArguments` calls `ToNumber` for each arguments, so if `argumentCount` is zero, it should not be called.
Attachments
Sosuke Suzuki
Comment 1 2025-02-10 23:32:54 PST
EWS
Comment 2 2025-02-12 01:59:28 PST
Committed 290262@main (02deabced6f6): <https://commits.webkit.org/290262@main> Reviewed commits have been landed. Closing PR #40406 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-02-12 02:01:26 PST
Note You need to log in before you can comment on or make changes to this bug.