Changeset 37300 in webkit for trunk/JavaScriptCore/kjs/StructureID.cpp
- Timestamp:
- Oct 4, 2008, 2:57:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/StructureID.cpp
r36977 r37300 82 82 83 83 if (shouldCache) { 84 if (m_cachedPropertyNameArrayData) 85 m_cachedPropertyNameArrayData->setCachedStructureID(0); 86 84 87 m_cachedPropertyNameArrayData = propertyNames.data(); 85 88 … … 94 97 void StructureID::clearEnumerationCache() 95 98 { 99 if (m_cachedPropertyNameArrayData) 100 m_cachedPropertyNameArrayData->setCachedStructureID(0); 96 101 m_cachedPropertyNameArrayData.clear(); 97 102 } … … 183 188 m_previous->m_transitionTable.remove(make_pair(m_nameInPrevious, m_attributesInPrevious)); 184 189 } 190 191 if (m_cachedPropertyNameArrayData) 192 m_cachedPropertyNameArrayData->setCachedStructureID(0); 185 193 } 186 194
Note:
See TracChangeset
for help on using the changeset viewer.