Changeset 36083 in webkit for trunk/JavaScriptCore/kjs/PropertyMap.h
- Timestamp:
- Sep 4, 2008, 1:00:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/PropertyMap.h
r36032 r36083 59 59 unsigned deletedSentinelCount; 60 60 unsigned lastIndexUsed; 61 unsigned entryIndic ies[1];61 unsigned entryIndices[1]; 62 62 63 63 PropertyMapEntry* entries() … … 67 67 // have a 0 in its key to allow the hash table lookup to handle deleted 68 68 // sentinels without any special-case code, but the other fields are unused. 69 return reinterpret_cast<PropertyMapEntry*>(&entryIndic ies[size]);69 return reinterpret_cast<PropertyMapEntry*>(&entryIndices[size]); 70 70 } 71 71 … … 98 98 { 99 99 ASSERT(m_usingTable); 100 return reinterpret_cast<JSValue**>(m_u.table->entryIndic ies)[offset];100 return reinterpret_cast<JSValue**>(m_u.table->entryIndices)[offset]; 101 101 } 102 102 void putOffset(size_t offset, JSValue* v) 103 103 { 104 104 ASSERT(m_usingTable); 105 reinterpret_cast<JSValue**>(m_u.table->entryIndic ies)[offset] = v;105 reinterpret_cast<JSValue**>(m_u.table->entryIndices)[offset] = v; 106 106 } 107 107 … … 129 129 { 130 130 ASSERT(m_usingTable); 131 return location - reinterpret_cast<JSValue**>(m_u.table->entryIndic ies);131 return location - reinterpret_cast<JSValue**>(m_u.table->entryIndices); 132 132 } 133 133
Note:
See TracChangeset
for help on using the changeset viewer.