Changeset 154113 in webkit for trunk/Source/JavaScriptCore/runtime/JSString.h
- Timestamp:
- Aug 15, 2013, 11:49:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSString.h
r154038 r154113 474 474 { 475 475 if (propertyName == exec->propertyNames().length) { 476 slot.setValue( jsNumber(m_length));476 slot.setValue(this, jsNumber(m_length)); 477 477 return true; 478 478 } … … 481 481 if (i < m_length) { 482 482 ASSERT(i != PropertyName::NotAnIndex); // No need for an explicit check, the above test would always fail! 483 slot.setValue( getIndex(exec, i));483 slot.setValue(this, getIndex(exec, i)); 484 484 return true; 485 485 } … … 491 491 { 492 492 if (propertyName < m_length) { 493 slot.setValue( getIndex(exec, propertyName));493 slot.setValue(this, getIndex(exec, propertyName)); 494 494 return true; 495 495 }
Note:
See TracChangeset
for help on using the changeset viewer.