[Webkit-unassigned] [Bug 129486] Implement Math.hypot
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 15 17:11:06 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=129486
--- Comment #22 from Darin Adler <darin at apple.com> 2014-03-15 17:11:27 PST ---
(From update of attachment 225783)
View in context: https://bugs.webkit.org/attachment.cgi?id=225783&action=review
> Source/JavaScriptCore/runtime/MathObject.cpp:191
> + double arg = exec->argument(i).toNumber(exec);
This should be calling uncheckedArgument instead of argument. The uncheckedArgument function should be used any time we can guarantee the index is < the argument count, and here we can indeed guarantee that.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list