Changeset 3015 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Dec 12, 2002, 1:20:02 AM (22 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/array_instance.h
r3013 r3015 41 41 virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName); 42 42 virtual bool deleteProperty(ExecState *exec, unsigned propertyName); 43 virtual ReferenceList propList(ExecState *exec, bool recursive);44 43 45 44 virtual void mark(); -
trunk/JavaScriptCore/kjs/array_object.cpp
r3013 r3015 196 196 return ObjectImp::deleteProperty(exec, Identifier::from(index)); 197 197 } 198 199 ReferenceList ArrayInstanceImp::propList(ExecState *exec, bool recursive)200 {201 ReferenceList properties = ObjectImp::propList(exec,recursive);202 for (unsigned i = 0; i < storageLength; ++i) {203 if (storage[i]) {204 properties.append(Reference(this, Identifier::from(i);205 }206 }207 return properties;208 }209 210 198 211 199 void ArrayInstanceImp::resizeStorage(unsigned newLength) -
trunk/JavaScriptCore/kjs/array_object.h
r3013 r3015 60 60 virtual bool implementsCall() const; 61 61 virtual Value call(ExecState *exec, Object &thisObj, const List &args); 62 62 63 }; 63 64 -
trunk/JavaScriptCore/kjs/object.h
r3013 r3015 573 573 void setScope(const ScopeChain &s) { _scope = s; } 574 574 575 virtualReferenceList propList(ExecState *exec, bool recursive = true);575 ReferenceList propList(ExecState *exec, bool recursive = true); 576 576 577 577 Value internalValue() const;
Note:
See TracChangeset
for help on using the changeset viewer.