Ignore:
Timestamp:
Jan 4, 2010, 4:13:21 PM (15 years ago)
Author:
[email protected]
Message:

Roll out r52758 as it accidentally the whole build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/UStringImpl.h

    r52762 r52768  
    2828
    2929#include <wtf/CrossThreadRefCounted.h>
    30 #include <wtf/HashFunctions.h>
    3130#include <wtf/OwnFastMallocPtr.h>
    3231#include <wtf/PossiblyNull.h>
     
    162161    }
    163162
    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)); }
    167166
    168167    static UStringImpl& null() { return *s_null; }
Note: See TracChangeset for help on using the changeset viewer.