Changeset 55825 in webkit for trunk/JavaScriptCore/runtime/Identifier.cpp
- Timestamp:
- Mar 10, 2010, 6:36:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Identifier.cpp
r55751 r55825 131 131 } 132 132 if (!c[0]) { 133 UString::Rep::empty() .hash();134 return &UString::Rep::empty();133 UString::Rep::empty()->hash(); 134 return UString::Rep::empty(); 135 135 } 136 136 if (!c[1]) … … 195 195 } 196 196 if (!length) { 197 UString::Rep::empty() .hash();198 return &UString::Rep::empty();197 UString::Rep::empty()->hash(); 198 return UString::Rep::empty(); 199 199 } 200 200 UCharBuffer buf = {s, length}; … … 226 226 } 227 227 if (!r->length()) { 228 UString::Rep::empty() .hash();229 return &UString::Rep::empty();228 UString::Rep::empty()->hash(); 229 return UString::Rep::empty(); 230 230 } 231 231 return *globalData->identifierTable->add(r).first;
Note:
See TracChangeset
for help on using the changeset viewer.