Changeset 12321 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Jan 23, 2006, 4:56:32 PM (19 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/array_object.cpp
r12317 r12321 481 481 UString str = ""; 482 482 483 visitedElems. insert(thisObj);483 visitedElems.add(thisObj); 484 484 if (id == Join && !args[0]->isUndefined()) 485 485 separator = args[0]->toString(exec); -
trunk/JavaScriptCore/kjs/collector.cpp
r12317 r12321 412 412 return; 413 413 414 protectedValues(). insert(k->downcast());414 protectedValues().add(k->downcast()); 415 415 } 416 416 -
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.