[Webkit-unassigned] [Bug 167119] New: [JSC] Handle parseInt in DFG / FTL for kraken crypto-ccm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 09:06:16 PST 2017


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

            Bug ID: 167119
           Summary: [JSC] Handle parseInt in DFG / FTL for kraken
                    crypto-ccm
    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

kraken crypto-ccm repeatedly calls parseInt function.
I think we have a chance to optimize it by handling it in DFG, because

1. typically the second `radix` parameter is constant! We typically call it in the form like `parseInt(xxx, 10)`. So in that case, many checks can be dropped.
2. typically the first parameter is string. We can use StringUse to avoid string type check & conversions in parseInt function.

-- 
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/20170117/5830d9c3/attachment-0001.html>


More information about the webkit-unassigned mailing list