[Webkit-unassigned] [Bug 54786] New: Devirtualize JSCell::classInfo()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 18 17:50:38 PST 2011


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

           Summary: Devirtualize JSCell::classInfo()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barraclough at apple.com


Instead of making a virtual function call, add a pointer to the ClassInfo onto Structure.

This removes a virtual function call, and paves the way towards removing all the createStructure methods, and StructureFlags/AnonymousSlotCount properties (these should be able to move onto ClassInfo).

Calls to Structure::create must now pass a pointer to the ClassInfo for the structure.  All objects now have a ClassInfo pointer, non-object cell types still do not.

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