[Webkit-unassigned] [Bug 147433] New: DFG::ArgumentsEliminationPhase should emit a PutStack for all of the GetStacks that the ByteCodeParser emitted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 29 20:46:51 PDT 2015


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

            Bug ID: 147433
           Summary: DFG::ArgumentsEliminationPhase should emit a PutStack
                    for all of the GetStacks that the ByteCodeParser
                    emitted
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

Ideally, the ByteCodeParser would only emit SetArgument nodes for named arguments.  But currently that's not what it does - it emits a SetArgument for every argument that a varargs call may pass.  Each SetArgument gets turned into a GetStack.  This means that if ArgumentsEliminationPhase optimizes away PutStacks for those varargs arguments that didn't get passed or used, we get degenerate IR where we have a GetStack of something that didn't have a PutStack.

-- 
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/20150730/7af65c19/attachment.html>


More information about the webkit-unassigned mailing list