Changeset 12069 in webkit for trunk/JavaScriptCore/kjs/property_map.cpp
- Timestamp:
- Jan 13, 2006, 1:32:51 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/property_map.cpp
r11962 r12069 440 440 // update the count, because single entries don't count towards 441 441 // the table key count 442 443 442 ++_table->keyCount; 443 assert(_table->keyCount == 1); 444 444 } 445 445 #endif … … 764 764 unsigned h = rep->hash(); 765 765 int i = h & _table->sizeMask; 766 766 int k = 0; 767 767 while (UString::Rep *key = _table->entries[i].key) { 768 768 if (rep == key) 769 769 break; 770 771 772 770 if (k == 0) 771 k = 1 | (h % _table->sizeMask); 772 i = (i + k) & _table->sizeMask; 773 773 } 774 774 assert(i == j);
Note:
See TracChangeset
for help on using the changeset viewer.