Ignore:
Timestamp:
Feb 23, 2006, 11:52:25 AM (19 years ago)
Author:
ggaren
Message:

Reviewed by Darin, Maciej.

  • Inline some functions suggested by Shark. 2.9% speedup on super accurate JS iBench.

http://bugzilla.opendarwin.org/show_bug.cgi?id=7411
<rdar://problem/4448116>

  • kjs/nodes.h: (KJS::ArgumentsNode::evaluateList):
  • kjs/object.cpp:
  • kjs/object.h: (KJS::ScopeChain::release): (KJS::JSObject::toPrimitive):
  • kjs/scope_chain.cpp:
  • kjs/ustring.cpp:
  • kjs/ustring.h: (KJS::UString::toArrayIndex):
  • kjs/value.cpp:
  • kjs/value.h: (KJS::JSValue::toObject):
  • kxmlcore/FastMalloc.cpp: (KXMLCore::TCMalloc_ThreadCache_FreeList::Push): (KXMLCore::TCMalloc_ThreadCache_FreeList::Pop):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kxmlcore/FastMalloc.cpp

    r12897 r12949  
    976976  void clear_lowwatermark() { lowater_ = length_; }
    977977
    978   void Push(void* ptr) {
     978  ALWAYS_INLINE void Push(void* ptr) {
    979979    *(reinterpret_cast<void**>(ptr)) = list_;
    980980    list_ = ptr;
     
    982982  }
    983983
    984   void* Pop() {
     984  ALWAYS_INLINE void* Pop() {
    985985    ASSERT(list_ != NULL);
    986986    void* result = list_;
Note: See TracChangeset for help on using the changeset viewer.