Changeset 50254 in webkit for trunk/JavaScriptCore/runtime/Structure.h
- Timestamp:
- Oct 28, 2009, 6:25:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Structure.h
r49734 r50254 96 96 97 97 void growPropertyStorageCapacity(); 98 size_tpropertyStorageCapacity() const { return m_propertyStorageCapacity; }99 size_tpropertyStorageSize() const { return m_propertyTable ? m_propertyTable->keyCount + m_propertyTable->anonymousSlotCount + (m_propertyTable->deletedOffsets ? m_propertyTable->deletedOffsets->size() : 0) : m_offset + 1; }98 unsigned propertyStorageCapacity() const { return m_propertyStorageCapacity; } 99 unsigned propertyStorageSize() const { return m_propertyTable ? m_propertyTable->keyCount + m_propertyTable->anonymousSlotCount + (m_propertyTable->deletedOffsets ? m_propertyTable->deletedOffsets->size() : 0) : m_offset + 1; } 100 100 bool isUsingInlineStorage() const; 101 101 … … 120 120 void setHasGetterSetterProperties(bool hasGetterSetterProperties) { m_hasGetterSetterProperties = hasGetterSetterProperties; } 121 121 122 bool hasNonEnumerableProperties() const { return m_hasNonEnumerableProperties; } 123 124 bool hasAnonymousSlots() const { return m_propertyTable && m_propertyTable->anonymousSlotCount; } 125 122 126 bool isEmpty() const { return m_propertyTable ? !m_propertyTable->keyCount : m_offset == noOffset; } 123 127 … … 191 195 PropertyMapHashTable* m_propertyTable; 192 196 193 size_t m_propertyStorageCapacity;197 uint32_t m_propertyStorageCapacity; 194 198 signed char m_offset; 195 199 … … 197 201 bool m_isPinnedPropertyTable : 1; 198 202 bool m_hasGetterSetterProperties : 1; 203 bool m_hasNonEnumerableProperties : 1; 199 204 #if COMPILER(WINSCW) 200 205 // Workaround for Symbian WINSCW compiler that cannot resolve unsigned type of the declared
Note:
See TracChangeset
for help on using the changeset viewer.