Changeset 12949 in webkit for trunk/JavaScriptCore/kjs/value.cpp


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/kjs/value.cpp

    r12728 r12949  
    116116}
    117117
    118 JSObject *JSValue::toObject(ExecState *exec) const
    119 {
    120     return JSImmediate::isImmediate(this) ? JSImmediate::toObject(this, exec) : downcast()->toObject(exec);
    121 }
    122 
    123118bool JSCell::getNumber(double &numericValue) const
    124119{
Note: See TracChangeset for help on using the changeset viewer.