Changeset 166792 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Apr 4, 2014, 10:56:23 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
r166415 r166792 508 508 { 509 509 // This will change if we have more indexing types. 510 IndexingType type = object-> structure()->indexingType();510 IndexingType type = object->indexingType(); 511 511 // This could be made obviously more efficient, but isn't made so right now, because 512 512 // we expect this to be an unlikely slow path anyway. … … 584 584 bool JSGlobalObject::objectPrototypeIsSane() 585 585 { 586 return !hasIndexedProperties(m_objectPrototype-> structure()->indexingType())586 return !hasIndexedProperties(m_objectPrototype->indexingType()) 587 587 && m_objectPrototype->prototype().isNull(); 588 588 } … … 590 590 bool JSGlobalObject::arrayPrototypeChainIsSane() 591 591 { 592 return !hasIndexedProperties(m_arrayPrototype-> structure()->indexingType())592 return !hasIndexedProperties(m_arrayPrototype->indexingType()) 593 593 && m_arrayPrototype->prototype() == m_objectPrototype.get() 594 594 && objectPrototypeIsSane(); … … 597 597 bool JSGlobalObject::stringPrototypeChainIsSane() 598 598 { 599 return !hasIndexedProperties(m_stringPrototype-> structure()->indexingType())599 return !hasIndexedProperties(m_stringPrototype->indexingType()) 600 600 && m_stringPrototype->prototype() == m_objectPrototype.get() 601 601 && objectPrototypeIsSane();
Note:
See TracChangeset
for help on using the changeset viewer.