Changeset 178756 in webkit for trunk/Source/JavaScriptCore/runtime/JSCJSValue.cpp
- Timestamp:
- Jan 20, 2015, 2:43:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSCJSValue.cpp
r178751 r178756 120 120 VM& vm = exec->vm(); 121 121 122 if (Optional<uint32_t> index = propertyName.asIndex()) { 123 putToPrimitiveByIndex(exec, index.value(), value, slot.isStrictMode()); 122 unsigned index = propertyName.asIndex(); 123 if (index != PropertyName::NotAnIndex) { 124 putToPrimitiveByIndex(exec, index, value, slot.isStrictMode()); 124 125 return; 125 126 }
Note:
See TracChangeset
for help on using the changeset viewer.