Changeset 9009 in webkit for trunk/JavaScriptCore/kjs/identifier.cpp
- Timestamp:
- Apr 14, 2005, 6:26:26 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/identifier.cpp
r6360 r9009 36 36 #include "identifier.h" 37 37 38 #include "fast_malloc.h" 39 38 40 #define DUMP_STATISTICS 0 39 41 … … 123 125 } 124 126 125 UChar *d = static_cast<UChar *>( malloc(sizeof(UChar) * length));127 UChar *d = static_cast<UChar *>(kjs_fast_malloc(sizeof(UChar) * length)); 126 128 for (int j = 0; j != length; j++) 127 129 d[j] = c[j]; … … 162 164 } 163 165 164 UChar *d = static_cast<UChar *>( malloc(sizeof(UChar) * length));166 UChar *d = static_cast<UChar *>(kjs_fast_malloc(sizeof(UChar) * length)); 165 167 for (int j = 0; j != length; j++) 166 168 d[j] = s[j];
Note:
See TracChangeset
for help on using the changeset viewer.