Changeset 131276 in webkit for trunk/Source/JavaScriptCore/dfg/DFGArrayMode.cpp
- Timestamp:
- Oct 14, 2012, 3:05:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGArrayMode.cpp
r130826 r131276 172 172 case Array::PossiblyArrayWithContiguousOutOfBounds: 173 173 return value.m_currentKnownStructure.hasSingleton() 174 && (value.m_currentKnownStructure.singleton()->indexingType() & HasContiguous);174 && hasContiguous(value.m_currentKnownStructure.singleton()->indexingType()); 175 175 176 176 case Array::ArrayWithContiguous: … … 178 178 case Array::ArrayWithContiguousOutOfBounds: 179 179 return value.m_currentKnownStructure.hasSingleton() 180 && (value.m_currentKnownStructure.singleton()->indexingType() & HasContiguous)180 && hasContiguous(value.m_currentKnownStructure.singleton()->indexingType()) 181 181 && (value.m_currentKnownStructure.singleton()->indexingType() & IsArray); 182 182 … … 188 188 case Array::PossiblyArrayWithArrayStorageOutOfBounds: 189 189 return value.m_currentKnownStructure.hasSingleton() 190 && (value.m_currentKnownStructure.singleton()->indexingType() & HasArrayStorage);190 && hasFastArrayStorage(value.m_currentKnownStructure.singleton()->indexingType()); 191 191 192 192 case Array::SlowPutArrayStorage: 193 193 case Array::PossiblyArrayWithSlowPutArrayStorage: 194 194 return value.m_currentKnownStructure.hasSingleton() 195 && (value.m_currentKnownStructure.singleton()->indexingType() & (HasArrayStorage | HasSlowPutArrayStorage));195 && hasArrayStorage(value.m_currentKnownStructure.singleton()->indexingType()); 196 196 197 197 case Array::ArrayWithArrayStorage: … … 199 199 case Array::ArrayWithArrayStorageOutOfBounds: 200 200 return value.m_currentKnownStructure.hasSingleton() 201 && (value.m_currentKnownStructure.singleton()->indexingType() & HasArrayStorage)201 && hasFastArrayStorage(value.m_currentKnownStructure.singleton()->indexingType()) 202 202 && (value.m_currentKnownStructure.singleton()->indexingType() & IsArray); 203 203 204 204 case Array::ArrayWithSlowPutArrayStorage: 205 205 return value.m_currentKnownStructure.hasSingleton() 206 && (value.m_currentKnownStructure.singleton()->indexingType() & (HasArrayStorage | HasSlowPutArrayStorage))206 && hasArrayStorage(value.m_currentKnownStructure.singleton()->indexingType()) 207 207 && (value.m_currentKnownStructure.singleton()->indexingType() & IsArray); 208 208
Note:
See TracChangeset
for help on using the changeset viewer.