Changeset 34607 in webkit for trunk/JavaScriptCore/kjs/JSArray.cpp
- Timestamp:
- Jun 16, 2008, 4:28:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSArray.cpp
r34587 r34607 158 158 if (UNLIKELY(i >= m_length)) { 159 159 if (i > maxArrayIndex) 160 return getOwnPropertySlot(exec, Identifier::from( i), slot);160 return getOwnPropertySlot(exec, Identifier::from(exec, i), slot); 161 161 return false; 162 162 } … … 231 231 if (i >= length) { 232 232 if (i > maxArrayIndex) { 233 put(exec, Identifier::from( i), value);233 put(exec, Identifier::from(exec, i), value); 234 234 return; 235 235 } … … 361 361 362 362 if (i > maxArrayIndex) 363 return deleteProperty(exec, Identifier::from( i));363 return deleteProperty(exec, Identifier::from(exec, i)); 364 364 365 365 return false; … … 377 377 for (unsigned i = 0; i < usedVectorLength; ++i) { 378 378 if (storage->m_vector[i]) 379 propertyNames.add(Identifier::from( i));379 propertyNames.add(Identifier::from(exec, i)); 380 380 } 381 381 … … 383 383 SparseArrayValueMap::iterator end = map->end(); 384 384 for (SparseArrayValueMap::iterator it = map->begin(); it != end; ++it) 385 propertyNames.add(Identifier::from( it->first));385 propertyNames.add(Identifier::from(exec, it->first)); 386 386 } 387 387
Note:
See TracChangeset
for help on using the changeset viewer.