Ignore:
Timestamp:
Jan 18, 2010, 4:02:40 PM (15 years ago)
Author:
Darin Adler
Message:

Add some ALWAYS_INLINE for key functions not inlined by some versions of GCC.
rdar://problem/7553780

Patch by Evan Cheng <[email protected]> on 2010-01-18
Reviewed by Darin Adler.

  • runtime/JSObject.h:

(JSC::JSObject::getPropertySlot): ALWAYS_INLINE both overloads.

  • runtime/JSString.h:

(JSC::JSString::JSString): ALWAYS_INLINE the version that takes a UString.

  • runtime/UString.h:

(JSC::operator==): ALWAYS_INLINE the version that compares two UString objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/UString.h

    r53400 r53437  
    207207    };
    208208
    209     inline bool operator==(const UString& s1, const UString& s2)
     209    ALWAYS_INLINE bool operator==(const UString& s1, const UString& s2)
    210210    {
    211211        int size = s1.size();
Note: See TracChangeset for help on using the changeset viewer.