Changeset 41232 in webkit for trunk/JavaScriptCore/runtime/Structure.h
- Timestamp:
- Feb 25, 2009, 3:44:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Structure.h
r40046 r41232 88 88 89 89 JSValuePtr storedPrototype() const { return m_prototype; } 90 JSValuePtr prototypeForLookup(ExecState*); 90 JSValuePtr prototypeForLookup(ExecState*) const; 91 StructureChain* prototypeChain(ExecState*) const; 91 92 92 93 Structure* previousID() const { return m_previous.get(); } 93 94 StructureChain* createCachedPrototypeChain();95 void setCachedPrototypeChain(PassRefPtr<StructureChain> cachedPrototypeChain) { m_cachedPrototypeChain = cachedPrototypeChain; }96 StructureChain* cachedPrototypeChain() const { return m_cachedPrototypeChain.get(); }97 94 98 95 void growPropertyStorageCapacity(); … … 114 111 size_t put(const Identifier& propertyName, unsigned attributes); 115 112 size_t remove(const Identifier& propertyName); 116 void getEnumerablePropertyNamesInternal(PropertyNameArray&); 113 void getEnumerableNamesFromPropertyTable(PropertyNameArray&); 114 void getEnumerableNamesFromClassInfoTable(ExecState*, const ClassInfo*, PropertyNameArray&); 117 115 118 116 void expandPropertyMapHashTable(); … … 145 143 return m_offset == noOffset ? 0 : m_offset + 1; 146 144 } 145 146 bool isValid(ExecState*, StructureChain* cachedPrototypeChain) const; 147 147 148 148 static const unsigned emptyEntryIndex = 0; … … 155 155 156 156 JSValuePtr m_prototype; 157 RefPtr<StructureChain> m_cachedPrototypeChain;157 mutable RefPtr<StructureChain> m_cachedPrototypeChain; 158 158 159 159 RefPtr<Structure> m_previous;
Note:
See TracChangeset
for help on using the changeset viewer.