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