Changeset 65266 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- Aug 12, 2010, 2:20:06 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/UString.cpp
r65186 r65266 198 198 asciiBuffer = new char[neededSize]; 199 199 200 const UChar* p = characters(); // Don't roll me out!200 const UChar* p = characters(); 201 201 char* q = asciiBuffer; 202 202 const UChar* limit = p + len; -
trunk/JavaScriptCore/runtime/UString.h
r65177 r65266 87 87 CString UTF8String(bool strict = false) const; 88 88 89 ALWAYS_INLINEunsigned length() const89 unsigned length() const 90 90 { 91 91 if (!m_impl) … … 122 122 123 123 bool isNull() const { return !m_impl; } 124 ALWAYS_INLINEbool isEmpty() const { return !m_impl || !m_impl->length(); }124 bool isEmpty() const { return !m_impl || !m_impl->length(); } 125 125 126 126 StringImpl* impl() const { return m_impl.get(); } … … 138 138 } 139 139 140 ALWAYS_INLINE ~UString() { } 140 141 private: 141 142 RefPtr<StringImpl> m_impl; … … 267 268 268 269 #endif 270 271 #include "StringConcatenate.h"
Note:
See TracChangeset
for help on using the changeset viewer.