Changeset 10744 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- Oct 5, 2005, 1:05:44 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r10701 r10744 44 44 #include "operations.h" 45 45 #include "ustring.h" 46 #include " reference_list.h"46 #include "IdentifierSequencedSet.h" 47 47 48 48 using namespace KJS; … … 1781 1781 ObjectImp *v; 1782 1782 Completion c; 1783 ReferenceList propList;1783 IdentifierSequencedSet propertyNames; 1784 1784 1785 1785 if (varDecl) { … … 1800 1800 KJS_CHECKEXCEPTION 1801 1801 v = e->toObject(exec); 1802 propList = v->propList(exec); 1803 1804 ReferenceListIterator propIt = propList.begin(); 1805 1806 while (propIt != propList.end()) { 1807 Identifier name = propIt->getPropertyName(exec); 1808 if (!v->hasProperty(exec, name)) { 1809 propIt++; 1802 v->getPropertyNames(exec, propertyNames); 1803 1804 IdentifierSequencedSetIterator end = propertyNames.end(); 1805 for (IdentifierSequencedSetIterator it = propertyNames.begin(); it != end; ++it) { 1806 const Identifier &name = *it; 1807 if (!v->hasProperty(exec, name)) 1810 1808 continue; 1811 }1812 1809 1813 1810 ValueImp *str = jsString(name.ustring()); … … 1871 1868 } 1872 1869 } 1873 1874 propIt++;1875 1870 } 1876 1871
Note:
See TracChangeset
for help on using the changeset viewer.