[Webkit-unassigned] [Bug 155240] New: [JSC] Consider converting ArithSub(..., 0) => ToNumber(...)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 9 10:28:09 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=155240
Bug ID: 155240
Summary: [JSC] Consider converting ArithSub(..., 0) =>
ToNumber(...)
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
value - 0 is an idiom to apply ToNumber in JS. (+ 0 is not typically used because "string" + 0 => "string0").
I've run octane and found box2d performs this several times.
(The code `... - 0` can be seen in kraken's fft, dft, etc. But this path is not used in the benchmark run).
Of course, before doing this, we should investigate the impact more...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160309/97a94819/attachment.html>
More information about the webkit-unassigned
mailing list