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/UString.cpp

    r55825 r55833  
    494494    if (len == 0)
    495495        return 0;
    496     const UChar* p = m_rep->data();
     496    const UChar* p = m_rep->characters();
    497497    unsigned short c = p[0];
    498498
     
    711711    if (length != b->length())
    712712        return false;
    713     const UChar* d = r->data();
    714     const UChar* s = b->data();
     713    const UChar* d = r->characters();
     714    const UChar* s = b->characters();
    715715    for (unsigned i = 0; i != length; ++i) {
    716716        if (d[i] != s[i])
Note: See TracChangeset for help on using the changeset viewer.