Changeset 178928 in webkit for trunk/Source/JavaScriptCore/runtime/StringObject.cpp
- Timestamp:
- Jan 22, 2015, 11:34:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/StringObject.cpp
r178894 r178928 129 129 if (propertyName == exec->propertyNames().length) 130 130 return false; 131 Optional<uint32_t> index = propertyName.asIndex(); 132 if (index && thisObject->internalValue()->canGetIndex(index.value())) { 131 unsigned i = propertyName.asIndex(); 132 if (thisObject->internalValue()->canGetIndex(i)) { 133 ASSERT(i != PropertyName::NotAnIndex); // No need for an explicit check, the above test would always fail! 133 134 return false; 134 135 }
Note:
See TracChangeset
for help on using the changeset viewer.