Ignore:
Timestamp:
May 12, 2010, 4:25:32 PM (15 years ago)
Author:
[email protected]
Message:

Work around GCC stupidity by either explicitly inlining or by
using ALWAYS_INLINE

Reviewed by Gaving Barraclough.

  • runtime/StringPrototype.cpp:

(JSC::stringProtoFuncReplace):

  • runtime/UString.h:

(JSC::UString::~UString):

  • wtf/RefPtr.h:

(WTF::RefPtr::RefPtr):
(WTF::RefPtr::~RefPtr):

  • wtf/text/StringImpl.h:

(WebCore::StringImpl::create):
(WebCore::StringImpl::tryCreateUninitialized):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/text/StringImpl.h

    r58851 r59282  
    152152    static PassRefPtr<StringImpl> create(const char*);
    153153    static PassRefPtr<StringImpl> create(const UChar*, unsigned length, PassRefPtr<SharedUChar> sharedBuffer);
    154     static PassRefPtr<StringImpl> create(PassRefPtr<StringImpl> rep, unsigned offset, unsigned length)
     154    static ALWAYS_INLINE PassRefPtr<StringImpl> create(PassRefPtr<StringImpl> rep, unsigned offset, unsigned length)
    155155    {
    156156        ASSERT(rep);
     
    165165
    166166    static PassRefPtr<StringImpl> createUninitialized(unsigned length, UChar*& data);
    167     static PassRefPtr<StringImpl> tryCreateUninitialized(unsigned length, UChar*& output)
     167    static ALWAYS_INLINE PassRefPtr<StringImpl> tryCreateUninitialized(unsigned length, UChar*& output)
    168168    {
    169169        if (!length) {
Note: See TracChangeset for help on using the changeset viewer.