Changeset 37381 in webkit for trunk/JavaScriptCore/kjs/StructureID.h
- Timestamp:
- Oct 7, 2008, 11:17:37 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/StructureID.h
r37370 r37381 84 84 85 85 static PassRefPtr<StructureID> changePrototypeTransition(StructureID*, JSValue* prototype); 86 static PassRefPtr<StructureID> addPropertyTransition(StructureID*, const Identifier& propertyName, unsigned attributes, size_t& offset);86 static PassRefPtr<StructureID> addPropertyTransition(StructureID*, const Identifier& propertyName, JSValue*, unsigned attributes, JSObject* slotBase, PutPropertySlot&, PropertyStorage&); 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 124 121 void getEnumerablePropertyNames(ExecState*, PropertyNameArray&, JSObject*); 125 122 void clearEnumerationCache(); 123 124 static void transitionTo(StructureID* oldStructureID, StructureID* newStructureID, JSObject* slotBase); 126 125 127 126 private: … … 150 149 151 150 PropertyMap m_propertyMap; 152 size_t m_propertyStorageCapacity;153 151 154 152 size_t m_cachedTransistionOffset;
Note:
See TracChangeset
for help on using the changeset viewer.