Changeset 55833 in webkit for trunk/JavaScriptCore/bytecompiler


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):

Location:
trunk/JavaScriptCore/bytecompiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r54843 r55833  
    19431943    ASSERT(clause->length() == 1);
    19441944   
    1945     int32_t key = clause->data()[0];
     1945    int32_t key = clause->characters()[0];
    19461946    ASSERT(key >= min);
    19471947    ASSERT(key <= max);
  • trunk/JavaScriptCore/bytecompiler/NodesCodegen.cpp

    r54789 r55833  
    17001700            const UString& value = static_cast<StringNode*>(clauseExpression)->value().ustring();
    17011701            if (singleCharacterSwitch &= value.size() == 1) {
    1702                 int32_t intVal = value.rep()->data()[0];
     1702                int32_t intVal = value.rep()->characters()[0];
    17031703                if (intVal < min_num)
    17041704                    min_num = intVal;
Note: See TracChangeset for help on using the changeset viewer.