Skip to content
  • barraclough@apple.com's avatar
    Rename UString::substr to substringSharingImpl, add to WTF::String. · 846dfcf4
    barraclough@apple.com authored
    Now WTF::String can do everything that JSC::UString can do!
    
    Rubber stamped by Sam Weinig.
    
    * JavaScriptCore.exp:
    * bytecode/CodeBlock.cpp:
    (JSC::escapeQuotes):
    * bytecompiler/NodesCodegen.cpp:
    (JSC::substitute):
    * parser/SourceProvider.h:
    (JSC::UStringSourceProvider::getRange):
    * runtime/FunctionPrototype.cpp:
    (JSC::insertSemicolonIfNeeded):
    * runtime/JSGlobalObjectFunctions.cpp:
    (JSC::parseInt):
    * runtime/JSONObject.cpp:
    (JSC::gap):
    (JSC::Stringifier::indent):
    (JSC::Stringifier::unindent):
    * runtime/JSString.cpp:
    (JSC::JSString::replaceCharacter):
    * runtime/NumberPrototype.cpp:
    (JSC::numberProtoFuncToFixed):
    (JSC::numberProtoFuncToPrecision):
    * runtime/StringPrototype.cpp:
    (JSC::stringProtoFuncReplace):
    (JSC::trimString):
    * runtime/UString.cpp:
    (JSC::UString::substringSharingImpl):
    * runtime/UString.h:
    * wtf/text/WTFString.cpp:
    (WTF::String::substringSharingImpl):
    * wtf/text/WTFString.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    846dfcf4