Commit cca9621
[JSC] Avoid Unnecessary Vector Usage When Argument Count is Zero in
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@mainMath.hypot
1 parent f2a8160 commit cca9621
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
0 commit comments