Ignore:
Timestamp:
Sep 9, 2008, 4:42:47 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-09 Sam Weinig <[email protected]>

Reviewed by Geoffrey Garen.

Replace uses of PropertyMap::get and PropertyMap::getLocation with
PropertyMap::getOffset.

Sunspider reports this as a .6% improvement.

  • JavaScriptCore.exp:
  • kjs/JSObject.cpp: (JSC::JSObject::put): (JSC::JSObject::deleteProperty): (JSC::JSObject::getPropertyAttributes):
  • kjs/JSObject.h: (JSC::JSObject::getDirect): (JSC::JSObject::getDirectLocation): (JSC::JSObject::locationForOffset):
  • kjs/PropertyMap.cpp: (JSC::PropertyMap::remove): (JSC::PropertyMap::getOffset):
  • kjs/PropertyMap.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r36291 r36304  
    104104__ZN3JSC11ProfileNode4sortEPFbRKN3WTF6RefPtrIS0_EES5_E
    105105__ZN3JSC11ProgramNode6createEPNS_12JSGlobalDataEPNS_14SourceElementsEPN3WTF6VectorISt4pairINS_10IdentifierEjELm16EEEPNS6_INS5_6RefPtrINS_12FuncDeclNodeEEELm16EEEPNS_14SourceProviderEbbi
    106 __ZN3JSC11PropertyMap11getLocationERKNS_10IdentifierERKN3WTF11OwnArrayPtrIPNS_7JSValueEEE
    107 __ZN3JSC11PropertyMap11getLocationERKNS_10IdentifierERbRKN3WTF11OwnArrayPtrIPNS_7JSValueEEE
    108106__ZN3JSC11PropertyMap3putERKNS_10IdentifierEPNS_7JSValueEjbPNS_8JSObjectERNS_15PutPropertySlotERN3WTF11OwnArrayPtrIS5_EE
     107__ZN3JSC11PropertyMap9getOffsetERKNS_10IdentifierE
    109108__ZN3JSC11PropertyMap9getOffsetERKNS_10IdentifierERb
    110109__ZN3JSC11PropertyMapD1Ev
     
    281280__ZN3WTF8CollatorD1Ev
    282281__ZN3WTF8fastFreeEPv
    283 __ZNK3JSC11PropertyMap3getERKNS_10IdentifierERKN3WTF11OwnArrayPtrIPNS_7JSValueEEE
    284282__ZNK3JSC12DateInstance7getTimeERdRi
    285283__ZNK3JSC12StringObject12toThisStringEPNS_9ExecStateE
Note: See TracChangeset for help on using the changeset viewer.