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):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.