Changeset 181867 in webkit
- Timestamp:
- Mar 23, 2015, 1:48:18 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/Structure.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r181841 r181867 1 2015-03-23 Joseph Pecoraro <pecoraro@apple.com> 2 3 Fix DO_PROPERTYMAP_CONSTENCY_CHECK enabled build 4 https://bugs.webkit.org/show_bug.cgi?id=142952 5 6 Reviewed by Geoffrey Garen. 7 8 * runtime/Structure.cpp: 9 (JSC::PropertyTable::checkConsistency): 10 The check offset method doesn't exist in PropertyTable, it exists in Structure. 11 12 (JSC::Structure::checkConsistency): 13 So move it here, and always put it at the start to match normal behavior. 14 1 15 2015-03-22 Filip Pizlo <fpizlo@apple.com> 2 16 -
trunk/Source/JavaScriptCore/runtime/Structure.cpp
r181297 r181867 829 829 #endif 830 830 831 #if !DO_PROPERTYMAP_CONSTENCY_CHECK832 833 inline void Structure::checkConsistency()834 {835 checkOffsetConsistency();836 }837 838 #endif839 840 831 PropertyTable* Structure::copyPropertyTable(VM& vm) 841 832 { … … 1134 1125 void PropertyTable::checkConsistency() 1135 1126 { 1136 checkOffsetConsistency();1137 1127 ASSERT(m_indexSize >= PropertyTable::MinimumTableSize); 1138 1128 ASSERT(m_indexMask); … … 1192 1182 void Structure::checkConsistency() 1193 1183 { 1184 checkOffsetConsistency(); 1185 1194 1186 if (!propertyTable()) 1195 1187 return; … … 1203 1195 1204 1196 propertyTable()->checkConsistency(); 1197 } 1198 1199 #else 1200 1201 inline void Structure::checkConsistency() 1202 { 1203 checkOffsetConsistency(); 1205 1204 } 1206 1205
Note:
See TracChangeset
for help on using the changeset viewer.