Changeset 54073 in webkit for trunk/JavaScriptCore/runtime/Structure.cpp
- Timestamp:
- Jan 29, 2010, 11:46:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Structure.cpp
r54022 r54073 367 367 } 368 368 369 RefPtr<Structure> transition = create(structure->m_prototype, structure->typeInfo() );369 RefPtr<Structure> transition = create(structure->m_prototype, structure->typeInfo(), structure->anonymousSlotCount()); 370 370 371 371 transition->m_cachedPrototypeChain = structure->m_cachedPrototypeChain; … … 416 416 PassRefPtr<Structure> Structure::changePrototypeTransition(Structure* structure, JSValue prototype) 417 417 { 418 RefPtr<Structure> transition = create(prototype, structure->typeInfo() );418 RefPtr<Structure> transition = create(prototype, structure->typeInfo(), structure->anonymousSlotCount()); 419 419 420 420 transition->m_propertyStorageCapacity = structure->m_propertyStorageCapacity; … … 435 435 { 436 436 ASSERT(structure->m_specificFunctionThrashCount < maxSpecificFunctionThrashCount); 437 RefPtr<Structure> transition = create(structure->storedPrototype(), structure->typeInfo() );437 RefPtr<Structure> transition = create(structure->storedPrototype(), structure->typeInfo(), structure->anonymousSlotCount()); 438 438 439 439 transition->m_propertyStorageCapacity = structure->m_propertyStorageCapacity; … … 460 460 PassRefPtr<Structure> Structure::getterSetterTransition(Structure* structure) 461 461 { 462 RefPtr<Structure> transition = create(structure->storedPrototype(), structure->typeInfo() );462 RefPtr<Structure> transition = create(structure->storedPrototype(), structure->typeInfo(), structure->anonymousSlotCount()); 463 463 transition->m_propertyStorageCapacity = structure->m_propertyStorageCapacity; 464 464 transition->m_hasGetterSetterProperties = transition->m_hasGetterSetterProperties; … … 479 479 ASSERT(!structure->isUncacheableDictionary()); 480 480 481 RefPtr<Structure> transition = create(structure->m_prototype, structure->typeInfo() );481 RefPtr<Structure> transition = create(structure->m_prototype, structure->typeInfo(), structure->anonymousSlotCount()); 482 482 transition->m_dictionaryKind = kind; 483 483 transition->m_propertyStorageCapacity = structure->m_propertyStorageCapacity;
Note:
See TracChangeset
for help on using the changeset viewer.