-
bweinstein@apple.com authored
Reviewed by Maciej Stachowiak. Rest of REGRESSION (r57900-57919): 3% PLT Regression from moving strings into WTF. https://bugs.webkit.org/show_bug.cgi?id=38930 <rdar://problem/7937188> Inline string functions that are commonly used in WTFString, CString, and AtomicString. * JavaScriptCore.exp: Remove exports of inline functions. * wtf/text/AtomicString.cpp: (WebCore::AtomicString::addSlowCase): Rename add to addSlowCase, and inline the fast path of add. * wtf/text/AtomicString.h: (WebCore::AtomicString::add): Inline the fast path of add. * wtf/text/CString.cpp: Inline implementation of data and length in the header. * wtf/text/CString.h: (WTF::CString::data): Inline implementation of data. (WTF::CString::length): Inline implementation of length. * wtf/text/WTFString.cpp: Remove implementations of functions to be inlined. * wtf/text/WTFString.h: (WebCore::String::String): Inline implementation. (WebCore::String::length): Ditto. (WebCore::String::characters): Ditto. (WebCore::String::operator[]): Ditto. (WebCore::String::isEmpty): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e1e6398e