Changeset 53437 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- Jan 18, 2010, 4:02:40 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSObject.h
r53170 r53437 382 382 // It may seem crazy to inline a function this large but it makes a big difference 383 383 // since this is function very hot in variable lookup 384 inlinebool JSObject::getPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)384 ALWAYS_INLINE bool JSObject::getPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 385 385 { 386 386 JSObject* object = this; … … 395 395 } 396 396 397 inlinebool JSObject::getPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot)397 ALWAYS_INLINE bool JSObject::getPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) 398 398 { 399 399 JSObject* object = this; -
trunk/JavaScriptCore/runtime/JSString.h
r53397 r53437 166 166 }; 167 167 168 JSString(JSGlobalData* globalData, const UString& value)168 ALWAYS_INLINE JSString(JSGlobalData* globalData, const UString& value) 169 169 : JSCell(globalData->stringStructure.get()) 170 170 , m_stringLength(value.size()) -
trunk/JavaScriptCore/runtime/UString.h
r53400 r53437 207 207 }; 208 208 209 inlinebool operator==(const UString& s1, const UString& s2)209 ALWAYS_INLINE bool operator==(const UString& s1, const UString& s2) 210 210 { 211 211 int size = s1.size();
Note:
See TracChangeset
for help on using the changeset viewer.