Changeset 14951 in webkit for trunk/JavaScriptCore/kjs/array_object.cpp
- Timestamp:
- Jun 21, 2006, 2:09:19 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/array_object.cpp
r14821 r14951 199 199 } 200 200 201 ReferenceList ArrayInstance::propList(ExecState *exec, bool recursive) 202 { 203 ReferenceList properties = JSObject::propList(exec,recursive); 204 201 void ArrayInstance::getPropertyList(ExecState* exec, ReferenceList& propertyList, bool recursive) 202 { 205 203 // avoid fetching this every time through the loop 206 204 JSValue *undefined = jsUndefined(); … … 210 208 JSValue *imp = storage[i]; 211 209 if (imp && imp != undefined) { 212 propert ies.append(Reference(this, i));213 } 214 } 215 return properties;210 propertyList.append(Reference(this, i)); 211 } 212 } 213 return JSObject::getPropertyList(exec, propertyList, recursive); 216 214 } 217 215
Note:
See TracChangeset
for help on using the changeset viewer.