Changeset 12321 in webkit for trunk/JavaScriptCore/kjs/identifier.cpp
- Timestamp:
- Jan 23, 2006, 4:56:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/identifier.cpp
r12317 r12321 139 139 return &UString::Rep::empty; 140 140 141 return *identifierTable(). insert<const char *, CStringTranslator>(c).first;141 return *identifierTable().add<const char *, CStringTranslator>(c).first; 142 142 } 143 143 … … 180 180 181 181 UCharBuffer buf = {s, length}; 182 return *identifierTable(). insert<UCharBuffer, UCharBufferTranslator>(buf).first;182 return *identifierTable().add<UCharBuffer, UCharBufferTranslator>(buf).first; 183 183 } 184 184 … … 191 191 return &UString::Rep::empty; 192 192 193 UString::Rep *result = *identifierTable(). insert(r).first;193 UString::Rep *result = *identifierTable().add(r).first; 194 194 if (result == r) 195 195 r->isIdentifier = true;
Note:
See TracChangeset
for help on using the changeset viewer.