Changeset 45039 in webkit for trunk/JavaScriptCore/runtime/Structure.cpp
- Timestamp:
- Jun 23, 2009, 7:47:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Structure.cpp
r44171 r45039 307 307 308 308 if (shouldCache) { 309 StructureChain* protoChain = prototypeChain(exec); 309 310 m_cachedPropertyNameArrayData = propertyNames.data(); 310 m_cachedPropertyNameArrayData->setCachedPrototypeChain(prototypeChain(exec)); 311 if (!protoChain->isCacheable()) 312 return; 313 m_cachedPropertyNameArrayData->setCachedPrototypeChain(protoChain); 311 314 m_cachedPropertyNameArrayData->setCachedStructure(this); 312 315 } … … 408 411 if (structure->transitionCount() > s_maxTransitionLength) { 409 412 RefPtr<Structure> transition = toDictionaryTransition(structure); 413 ASSERT(structure != transition); 410 414 offset = transition->put(propertyName, attributes, specificValue); 411 415 if (transition->propertyStorageSize() > transition->propertyStorageCapacity())
Note:
See TracChangeset
for help on using the changeset viewer.