[Webkit-unassigned] [Bug 68782] New: DFG JIT Construct opcode takes a this argument even though it's not passed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 25 16:15:52 PDT 2011


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

           Summary: DFG JIT Construct opcode takes a this argument even
                    though it's not passed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fpizlo at apple.com


The DFG JIT Construct implementation initially involved passing a this argument to the Construct node, and then the implementation of the Construct node would pass this argument.  This was unnecessary, since Constructors create their own this argument.  This was then half fixed: the Constructor node implementation stopped passing the this argument.  But there is still a node generated for getting the this argument, and it is still a child of Construct.  This leads to dead code, is confusing to reason about, and probably hurts performance.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list