Changeset 86263 in webkit for trunk/Source/JavaScriptCore/runtime/BatchedTransitionOptimizer.h
- Timestamp:
- May 11, 2011, 1:55:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/BatchedTransitionOptimizer.h
r84052 r86263 39 39 , m_object(object) 40 40 { 41 if (!m_object->structure()->isDictionary())42 m_object->setStructure(globalData, Structure::toCacheableDictionaryTransition(globalData, m_object->structure()));43 41 } 44 42 45 43 ~BatchedTransitionOptimizer() 46 44 { 47 m_object->flattenDictionaryObject(*m_globalData); 45 if (m_object->structure()->isDictionary()) 46 m_object->flattenDictionaryObject(*m_globalData); 48 47 } 49 48
Note:
See TracChangeset
for help on using the changeset viewer.