[Webkit-unassigned] [Bug 239258] New: [JSC] Add partial inlining in the DFG/FTL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 12 15:39:07 PDT 2022


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

            Bug ID: 239258
           Summary: [JSC] Add partial inlining in the DFG/FTL
           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: rmorisset at apple.com

Some functions (e.g. the hottest function in the ML subtest of JetStream2 if I remember correctly) have the following structure:
- A switch or branch on the number of arguments, or the type of an argument, or the value of an argument
- All of the code is in the various branches.
- The function as a whole is too big to inline.
It would be great to be able to outline each of the branches, which would make the function as a whole trivially inlinable and would allow eliminating the branch in most cases.
According to some profiling I did a couple of years ago, it should have a significant impact on some subtests of JS2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220412/db27f66e/attachment.htm>


More information about the webkit-unassigned mailing list