[Webkit-unassigned] [Bug 73175] New: DFG should not emit GetMethod node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 27 17:53:21 PST 2011


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

           Summary: DFG should not emit GetMethod node
           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 GetMethod node used to serve as an optimization for GetById, if the GetById was being syntactically used as the base of a method call.  But since then, we have replaced all of the profitable cases of GetMethod with a pair of CheckStructure nodes, and a pair of WeakJSConstant nodes.  Hence the GetMethod node is currently only being emitted when we know, based on profiling, that the GetMethod optimization had actually failed.

We should simply emit a normal GetById node, if we know that it is unprofitable to emit a pair of CheckStructure/WeakJSConstant nodes.

-- 
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