Changeset 49398 in webkit for trunk/JavaScriptCore/runtime/Structure.h
- Timestamp:
- Oct 9, 2009, 11:14:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Structure.h
r49335 r49398 31 31 #include "JSValue.h" 32 32 #include "PropertyMapHashTable.h" 33 #include "PropertyNameArray.h" 33 34 #include "StructureChain.h" 34 35 #include "StructureTransitionTable.h" … … 77 78 ~Structure(); 78 79 79 void markAggregate(MarkStack&);80 81 80 // These should be used with caution. 82 81 size_t addPropertyWithoutTransition(const Identifier& propertyName, unsigned attributes, JSCell* specificValue); … … 117 116 } 118 117 119 void getEnumerablePropertyNames(ExecState*, PropertyNameArray&, JSObject*);120 void getOwnEnumerablePropertyNames(ExecState*, PropertyNameArray&, JSObject*);121 122 118 bool hasGetterSetterProperties() const { return m_hasGetterSetterProperties; } 123 119 void setHasGetterSetterProperties(bool hasGetterSetterProperties) { m_hasGetterSetterProperties = hasGetterSetterProperties; } … … 127 123 JSCell* specificValue() { return m_specificValueInPrevious; } 128 124 void despecifyDictionaryFunction(const Identifier& propertyName); 125 126 void setEnumerationCache(PassRefPtr<PropertyNameArrayData> data) { m_cachedPropertyNameArrayData = data; } 127 PropertyNameArrayData* enumerationCache() { return m_cachedPropertyNameArrayData.get(); } 128 void clearEnumerationCache(); 129 void getEnumerablePropertyNames(PropertyNameArray&); 129 130 130 131 private: … … 141 142 size_t remove(const Identifier& propertyName); 142 143 void addAnonymousSlots(unsigned slotCount); 143 void getEnumerableNamesFromPropertyTable(PropertyNameArray&);144 void getEnumerableNamesFromClassInfoTable(ExecState*, const ClassInfo*, PropertyNameArray&);145 144 146 145 void expandPropertyMapHashTable(); … … 162 161 materializePropertyMap(); 163 162 } 164 165 void clearEnumerationCache();166 163 167 164 signed char transitionCount() const
Note:
See TracChangeset
for help on using the changeset viewer.