Ignore:
Timestamp:
Aug 10, 2010, 3:32:19 PM (15 years ago)
Author:
[email protected]
Message:

Bug 43816 - Remove UStringImpl
The class was actually removed a long time ago, replaced by StringImpl.
UStringImpl is just a typedef onto StringImpl. Remove this.

JavaScriptCore:

  • API/JSClassRef.cpp:

(OpaqueJSClass::OpaqueJSClass):

(JSC::JSString::resolveRope):
(JSC::JSString::replaceCharacter):

  • runtime/JSString.h:

(JSC::RopeBuilder::RopeIterator::operator*):
(JSC::RopeBuilder::JSString):
(JSC::RopeBuilder::appendStringInConstruct):
(JSC::RopeBuilder::appendValueInConstructAndIncrementLength):
(JSC::jsSingleCharacterSubstring):
(JSC::jsSubstring):

  • runtime/JSStringBuilder.h:

(JSC::jsMakeNontrivialString):

  • runtime/RopeImpl.cpp:

(JSC::RopeImpl::derefFibersNonRecursive):

  • runtime/RopeImpl.h:

(JSC::RopeImpl::deref):

  • runtime/SmallStrings.cpp:

(JSC::SmallStringsStorage::SmallStringsStorage):

  • runtime/StringConstructor.cpp:

(JSC::stringFromCharCodeSlowCase):

  • runtime/StringPrototype.cpp:

(JSC::jsSpliceSubstringsWithSeparators):
(JSC::stringProtoFuncFontsize):
(JSC::stringProtoFuncLink):

  • runtime/UString.cpp:

(JSC::initializeUString):

  • runtime/UString.h:

(JSC::UString::adopt):
(JSC::tryMakeString):
(JSC::makeString):

  • runtime/UStringImpl.h: Removed.

WebCore:

Rubber stamped by Sam Weinig.

  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSDOMBinding.cpp:

(WebCore::findAtomicString):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSStringBuilder.h

    r55093 r65099  
    8787inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2)
    8888{
    89     PassRefPtr<UStringImpl> result = tryMakeString(string1, string2);
     89    PassRefPtr<StringImpl> result = tryMakeString(string1, string2);
    9090    if (!result)
    9191        return throwOutOfMemoryError(exec);
     
    9696inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3)
    9797{
    98     PassRefPtr<UStringImpl> result = tryMakeString(string1, string2, string3);
     98    PassRefPtr<StringImpl> result = tryMakeString(string1, string2, string3);
    9999    if (!result)
    100100        return throwOutOfMemoryError(exec);
     
    105105inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4)
    106106{
    107     PassRefPtr<UStringImpl> result = tryMakeString(string1, string2, string3, string4);
     107    PassRefPtr<StringImpl> result = tryMakeString(string1, string2, string3, string4);
    108108    if (!result)
    109109        return throwOutOfMemoryError(exec);
     
    114114inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5)
    115115{
    116     PassRefPtr<UStringImpl> result = tryMakeString(string1, string2, string3, string4, string5);
     116    PassRefPtr<StringImpl> result = tryMakeString(string1, string2, string3, string4, string5);
    117117    if (!result)
    118118        return throwOutOfMemoryError(exec);
     
    123123inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6)
    124124{
    125     PassRefPtr<UStringImpl> result = tryMakeString(string1, string2, string3, string4, string5, string6);
     125    PassRefPtr<StringImpl> result = tryMakeString(string1, string2, string3, string4, string5, string6);
    126126    if (!result)
    127127        return throwOutOfMemoryError(exec);
Note: See TracChangeset for help on using the changeset viewer.