Changeset 59282 in webkit for trunk/JavaScriptCore/wtf/text/StringImpl.h
- Timestamp:
- May 12, 2010, 4:25:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/text/StringImpl.h
r58851 r59282 152 152 static PassRefPtr<StringImpl> create(const char*); 153 153 static PassRefPtr<StringImpl> create(const UChar*, unsigned length, PassRefPtr<SharedUChar> sharedBuffer); 154 static PassRefPtr<StringImpl> create(PassRefPtr<StringImpl> rep, unsigned offset, unsigned length)154 static ALWAYS_INLINE PassRefPtr<StringImpl> create(PassRefPtr<StringImpl> rep, unsigned offset, unsigned length) 155 155 { 156 156 ASSERT(rep); … … 165 165 166 166 static PassRefPtr<StringImpl> createUninitialized(unsigned length, UChar*& data); 167 static PassRefPtr<StringImpl> tryCreateUninitialized(unsigned length, UChar*& output)167 static ALWAYS_INLINE PassRefPtr<StringImpl> tryCreateUninitialized(unsigned length, UChar*& output) 168 168 { 169 169 if (!length) {
Note:
See TracChangeset
for help on using the changeset viewer.