Created attachment 643947 [details] [diff] [review] Patch If a script calls Math.pow a lot, and the second argument is either int32 or double, the JITs always pass it as double. This means Math.pow should also use powi if the second argument is an integer-valued double. This may be a very small v8-raytrace/kraken-darkroom win, but I had to write the patch anyway to measure that so let's just fix it.
Attachment #643947 - Flags: review?(dvander)
Attachment #643947 - Flags: review?(dvander) → review+
Target Milestone: --- → mozilla17
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.