Changeset 37388 in webkit for trunk/JavaScriptCore/kjs/StructureID.h
- Timestamp:
- Oct 7, 2008, 1:49:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/StructureID.h
r37381 r37388 84 84 85 85 static PassRefPtr<StructureID> changePrototypeTransition(StructureID*, JSValue* prototype); 86 static PassRefPtr<StructureID> addPropertyTransition(StructureID*, const Identifier& propertyName, JSValue*, unsigned attributes, JSObject* slotBase, PutPropertySlot&, PropertyStorage&);86 static PassRefPtr<StructureID> addPropertyTransition(StructureID*, const Identifier& propertyName, unsigned attributes, size_t& offset); 87 87 static PassRefPtr<StructureID> getterSetterTransition(StructureID*); 88 88 static PassRefPtr<StructureID> toDictionaryTransition(StructureID*); … … 119 119 size_t cachedTransistionOffset() const { return m_cachedTransistionOffset; } 120 120 121 void growPropertyStorageCapacity(); 122 size_t propertyStorageCapacity() const { return m_propertyStorageCapacity; } 123 121 124 void getEnumerablePropertyNames(ExecState*, PropertyNameArray&, JSObject*); 122 125 void clearEnumerationCache(); 123 124 static void transitionTo(StructureID* oldStructureID, StructureID* newStructureID, JSObject* slotBase);125 126 126 127 private: … … 149 150 150 151 PropertyMap m_propertyMap; 152 size_t m_propertyStorageCapacity; 151 153 152 154 size_t m_cachedTransistionOffset;
Note:
See TracChangeset
for help on using the changeset viewer.