Changeset 47605 in webkit for trunk/JavaScriptCore/runtime/Structure.h
- Timestamp:
- Aug 20, 2009, 4:05:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Structure.h
r47601 r47605 104 104 { 105 105 ASSERT(!propertyName.isNull()); 106 return get(propertyName. _ustring.rep(), attributes, specificValue);106 return get(propertyName.ustring().rep(), attributes, specificValue); 107 107 } 108 108 bool transitionedFor(const JSCell* specificValue) … … 110 110 return m_specificValueInPrevious == specificValue; 111 111 } 112 bool hasTransition(UString::Rep* rep, unsigned attributes);112 bool hasTransition(UString::Rep*, unsigned attributes); 113 113 bool hasTransition(const Identifier& propertyName, unsigned attributes) 114 114 { … … 244 244 bool StructureTransitionTable::contains(const StructureTransitionTableHash::Key& key, JSCell* specificValue) 245 245 { 246 const TransitionTable::iterator find = m_table.find(key); 247 if (find == m_table.end()) { 248 ASSERT(!m_table.contains(key)); 246 TransitionTable::iterator find = m_table.find(key); 247 if (find == m_table.end()) 249 248 return false; 250 } 249 251 250 return find->second.first || find->second.second->transitionedFor(specificValue); 252 251 }
Note:
See TracChangeset
for help on using the changeset viewer.