Skip to content
  • weinig@apple.com's avatar
    JavaScriptCore: · 22294303
    weinig@apple.com authored
    2008-09-08  Sam Weinig  <sam@webkit.org>
    
            Reviewed by Maciej Stachowiak and Oliver Hunt.
    
            Split storage of properties out of the PropertyMap and into the JSObject
            to allow sharing PropertyMap on the StructureID.  In order to get this
            function correctly, the StructureID's transition mappings were changed to
            transition based on property name and attribute pairs, instead of just
            property name.
    
            - Removes the single property optimization now that the PropertyMap is shared.
              This will be replaced by in-lining some values on the JSObject.
    
            This is a wash on Sunspider and a 6.7% win on the v8 test suite.
    
            * JavaScriptCore.base.exp:
            * VM/CTI.cpp:
            (JSC::CTI::privateCompileGetByIdSelf): Get the storage directly off the JSObject.
            (JSC::CTI::privateCompileGetByIdProto): Ditto.
            (JSC::CTI::privateCompileGetByIdChain): Ditto.
            (JSC::CTI::privateCompilePutByIdReplace): Ditto.
            * k...
    22294303