Changeset 52768 in webkit for trunk/JavaScriptCore/runtime/UStringImpl.h
- Timestamp:
- Jan 4, 2010, 4:13:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/UStringImpl.h
r52762 r52768 28 28 29 29 #include <wtf/CrossThreadRefCounted.h> 30 #include <wtf/HashFunctions.h>31 30 #include <wtf/OwnFastMallocPtr.h> 32 31 #include <wtf/PossiblyNull.h> … … 162 161 } 163 162 164 static unsigned computeHash(const UChar* s, int length) { ASSERT(length >= 0); return WTF::stringHash(s, length); }165 static unsigned computeHash(const char* s, int length) { ASSERT(length >= 0); return WTF::stringHash(s, length); }166 static unsigned computeHash(const char* s) { return WTF::stringHash(s); }163 static unsigned computeHash(const UChar*, int length); 164 static unsigned computeHash(const char*, int length); 165 static unsigned computeHash(const char* s) { return computeHash(s, strlen(s)); } 167 166 168 167 static UStringImpl& null() { return *s_null; }
Note:
See TracChangeset
for help on using the changeset viewer.