Changeset 38016 in webkit for trunk/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Oct 30, 2008, 5:12:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSObject.cpp
r37989 r38016 468 468 size_t offset; 469 469 if (m_structureID->isDictionary()) { 470 offset = m_structureID->remove (propertyName);471 if (offset != WTF::notFound) {470 offset = m_structureID->removePropertyWithoutTransition(propertyName); 471 if (offset != WTF::notFound) 472 472 m_propertyStorage[offset] = jsUndefined(); 473 m_structureID->clearEnumerationCache();474 }475 473 return; 476 474 } 477 475 478 RefPtr<StructureID> structureID = StructureID::toDictionaryTransition(m_structureID); 479 offset = structureID->remove(propertyName); 476 RefPtr<StructureID> structureID = StructureID::removePropertyTransition(m_structureID, propertyName, offset); 480 477 if (offset != WTF::notFound) 481 478 m_propertyStorage[offset] = jsUndefined();
Note:
See TracChangeset
for help on using the changeset viewer.