Ignore:
Timestamp:
Sep 2, 2011, 6:08:10 PM (14 years ago)
Author:
[email protected]
Message:

Replace local implementation of string equals() methods with UString versions
https://bugs.webkit.org/show_bug.cgi?id=67342

In preparation to allowing StringImpl to be backed by 8 bit
characters when appropriate, we need to eliminate or change the
usage of StringImpl::characters(). Change the uses of characters()
that are used to implement redundant equals() methods.

Reviewed by Gavin Barraclough.

  • runtime/Identifier.cpp:

(JSC::Identifier::equal):

  • runtime/Identifier.h:

(JSC::Identifier::equal):

  • wtf/text/AtomicString.cpp:

(WTF::CStringTranslator::equal): Moved an optimized method to here.
(WTF::operator==):

  • wtf/text/StringImpl.cpp:

(WTF::equal):

  • wtf/text/StringImpl.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/JavaScriptCore.exp

    r94470 r94475  
    109109__ZN3JSC10Identifier4fromEPNS_9ExecStateEi
    110110__ZN3JSC10Identifier4fromEPNS_9ExecStateEj
    111 __ZN3JSC10Identifier5equalEPKN3WTF10StringImplEPKc
    112111__ZN3JSC10Identifier8toUInt32ERKNS_7UStringERb
    113112__ZN3JSC10JSFunction14finishCreationEPNS_9ExecStateEPNS_14JSGlobalObjectEPNS_18FunctionExecutableEPNS_14ScopeChainNodeE
     
    478477__ZN3WTF5MutexD1Ev
    479478__ZN3WTF5equalEPKNS_10StringImplEPKc
     479__ZN3WTF5equalEPKNS_10StringImplEPKtj
    480480__ZN3WTF5equalEPKNS_10StringImplES2_
    481481__ZN3WTF5yieldEv
     
    525525__ZN3WTF9emptyAtomE
    526526__ZN3WTF9xmlnsAtomE
    527 __ZN3WTFeqERKNS_12AtomicStringEPKc
    528 __ZN3WTFeqERKNS_12AtomicStringERKNS_6VectorItLm0EEE
    529527__ZN3WTFeqERKNS_7CStringES2_
    530528__ZNK3JSC10JSFunction23isHostFunctionNonInlineEv
Note: See TracChangeset for help on using the changeset viewer.