Skip to content

[JSC] Avoid Unnecessary Vector Usage When Argument Count is Zero in Math.hypot#46480

Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Gumichocopengin8:eng/JSC-Avoid-Unnecessary-Vector-Usage-When-Argument-Count-is-Zero-in-Math-hypot
Jun 10, 2025
Merged

[JSC] Avoid Unnecessary Vector Usage When Argument Count is Zero in Math.hypot#46480
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Gumichocopengin8:eng/JSC-Avoid-Unnecessary-Vector-Usage-When-Argument-Count-is-Zero-in-Math-hypot

Conversation

@Gumichocopengin8
Copy link
Copy Markdown
Member

@Gumichocopengin8 Gumichocopengin8 commented Jun 8, 2025

@Gumichocopengin8 Gumichocopengin8 self-assigned this Jun 8, 2025
@Gumichocopengin8 Gumichocopengin8 requested a review from a team as a code owner June 8, 2025 19:15
@Gumichocopengin8 Gumichocopengin8 added the JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues. label Jun 8, 2025
Copy link
Copy Markdown
Contributor

@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@sosukesuzuki sosukesuzuki added the merge-queue Applied to send a pull request to merge-queue label Jun 10, 2025
…Math.hypot`

https://bugs.webkit.org/show_bug.cgi?id=294184

Reviewed by Yusuke Suzuki and Sosuke Suzuki.

Avoid unnecessary vector usage when argument count is zero in Math.hypot

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

Canonical link: https://commits.webkit.org/296034@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/JSC-Avoid-Unnecessary-Vector-Usage-When-Argument-Count-is-Zero-in-Math-hypot branch from 3ff35d6 to cca9621 Compare June 10, 2025 11:58
@webkit-commit-queue
Copy link
Copy Markdown
Collaborator

Committed 296034@main (cca9621): https://commits.webkit.org/296034@main

Reviewed commits have been landed. Closing PR #46480 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit cca9621 into WebKit:main Jun 10, 2025
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants