Ignore:
Timestamp:
Mar 10, 2010, 11:19:29 PM (15 years ago)
Author:
[email protected]
Message:

Rubber stamped by Oliver Hunt.

Rename JSC::UStringImpl::data() to characters(), to match WebCore::StringImpl.

JavaScriptCore:

  • API/JSClassRef.cpp:

(OpaqueJSClassContextData::OpaqueJSClassContextData):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::keyForCharacterSwitch):

  • bytecompiler/NodesCodegen.cpp:

(JSC::processClauseList):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

  • jit/JITStubs.cpp:

(JSC::DEFINE_STUB_FUNCTION):

  • runtime/ArrayPrototype.cpp:

(JSC::arrayProtoFuncToString):

  • runtime/Identifier.cpp:

(JSC::Identifier::equal):
(JSC::Identifier::addSlowCase):

  • runtime/JSString.cpp:

(JSC::JSString::resolveRope):

  • runtime/UString.cpp:

(JSC::UString::toStrictUInt32):
(JSC::equal):

  • runtime/UString.h:

(JSC::UString::data):

  • runtime/UStringImpl.h:

(JSC::UStringImpl::characters):
(JSC::UStringImpl::hash):
(JSC::UStringImpl::setHash):

WebCore:

  • bridge/jni/jsc/JavaStringJSC.h:

(JSC::Bindings::JavaStringImpl::uchars):

  • platform/text/AtomicString.cpp:

(WebCore::AtomicString::add):
(WebCore::AtomicString::find):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Identifier.cpp

    r55825 r55833  
    8282{
    8383    int length = r->length();
    84     const UChar* d = r->data();
     84    const UChar* d = r->characters();
    8585    for (int i = 0; i != length; ++i)
    8686        if (d[i] != (unsigned char)s[i])
     
    9393    if (r->length() != length)
    9494        return false;
    95     const UChar* d = r->data();
     95    const UChar* d = r->characters();
    9696    for (unsigned i = 0; i != length; ++i)
    9797        if (d[i] != s[i])
     
    215215    ASSERT(!r->isIdentifier());
    216216    if (r->length() == 1) {
    217         UChar c = r->data()[0];
     217        UChar c = r->characters()[0];
    218218        if (c <= 0xFF)
    219219            r = globalData->smallStrings.singleCharacterStringRep(c);
Note: See TracChangeset for help on using the changeset viewer.