Changeset 178928 in webkit for trunk/Source/JavaScriptCore/runtime/PropertyNameArray.cpp
- Timestamp:
- Jan 22, 2015, 11:34:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/PropertyNameArray.cpp
r178894 r178928 34 34 ASSERT(!identifier || identifier == StringImpl::empty() || identifier->isAtomic()); 35 35 if (!ASSERT_DISABLED) { 36 Optional<uint32_t>index = PropertyName(Identifier(m_vm, identifier)).asIndex();37 ASSERT_UNUSED(index, !index || index.value()>= m_previouslyEnumeratedLength);36 uint32_t index = PropertyName(Identifier(m_vm, identifier)).asIndex(); 37 ASSERT_UNUSED(index, index == PropertyName::NotAnIndex || index >= m_previouslyEnumeratedLength); 38 38 } 39 39
Note:
See TracChangeset
for help on using the changeset viewer.