Changeset 37989 in webkit for trunk/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Oct 29, 2008, 7:44:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSObject.cpp
r37938 r37989 70 70 m_structureID->mark(); 71 71 72 unsigned storageSize = m_structureID->propertyMap().storageSize();73 for ( unsignedi = 0; i < storageSize; ++i) {72 size_t storageSize = m_structureID->propertyStorageSize(); 73 for (size_t i = 0; i < storageSize; ++i) { 74 74 JSValue* v = m_propertyStorage[i]; 75 75 if (!v->marked()) … … 134 134 135 135 unsigned attributes; 136 if ((m_structureID-> propertyMap().get(propertyName, attributes) != WTF::notFound) && attributes & ReadOnly)136 if ((m_structureID->get(propertyName, attributes) != WTF::notFound) && attributes & ReadOnly) 137 137 return; 138 138 … … 200 200 { 201 201 unsigned attributes; 202 if (m_structureID-> propertyMap().get(propertyName, attributes) != WTF::notFound) {202 if (m_structureID->get(propertyName, attributes) != WTF::notFound) { 203 203 if ((attributes & DontDelete)) 204 204 return false; … … 410 410 bool JSObject::getPropertyAttributes(ExecState* exec, const Identifier& propertyName, unsigned& attributes) const 411 411 { 412 if (m_structureID-> propertyMap().get(propertyName, attributes) != WTF::notFound)412 if (m_structureID->get(propertyName, attributes) != WTF::notFound) 413 413 return true; 414 414 … … 468 468 size_t offset; 469 469 if (m_structureID->isDictionary()) { 470 offset = m_structureID-> propertyMap().remove(propertyName);470 offset = m_structureID->remove(propertyName); 471 471 if (offset != WTF::notFound) { 472 472 m_propertyStorage[offset] = jsUndefined(); … … 477 477 478 478 RefPtr<StructureID> structureID = StructureID::toDictionaryTransition(m_structureID); 479 offset = structureID-> propertyMap().remove(propertyName);479 offset = structureID->remove(propertyName); 480 480 if (offset != WTF::notFound) 481 481 m_propertyStorage[offset] = jsUndefined();
Note:
See TracChangeset
for help on using the changeset viewer.