Changeset 35750 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Aug 13, 2008, 8:43:57 PM (17 years ago)
Author:
[email protected]
Message:

2007-08-13 Geoffrey Garen <[email protected]>

Reviewed by Oliver Hunt.


Nixed a PIC branch from JSObject::getOwnPropertySlot, by forcing
fillGetterProperty, which references a global function pointer,
out-of-line.


.2% SunSpider speedup, 4.3% access-nbody speedup, 8.7% speedup on a
custom property access benchmark for objects with one property.

  • kjs/JSObject.cpp: (KJS::JSObject::fillGetterPropertySlot):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r35726 r35750  
     12008-08-13  Geoffrey Garen  <[email protected]>
     2
     3        Reviewed by Oliver Hunt.
     4       
     5        Nixed a PIC branch from JSObject::getOwnPropertySlot, by forcing
     6        fillGetterProperty, which references a global function pointer,
     7        out-of-line.
     8       
     9        .2% SunSpider speedup, 4.3% access-nbody speedup, 8.7% speedup on a
     10        custom property access benchmark for objects with one property.
     11
     12        * kjs/JSObject.cpp:
     13        (KJS::JSObject::fillGetterPropertySlot):
     14
    1152008-08-13  Alp Toker  <[email protected]>
    216
  • trunk/JavaScriptCore/kjs/JSObject.cpp

    r35027 r35750  
    466466}
    467467
    468 void JSObject::fillGetterPropertySlot(PropertySlot& slot, JSValue** location)
     468NEVER_INLINE void JSObject::fillGetterPropertySlot(PropertySlot& slot, JSValue** location)
    469469{
    470470    if (JSObject* getterFunction = static_cast<GetterSetter*>(*location)->getter())
Note: See TracChangeset for help on using the changeset viewer.