Changeset 47267 in webkit for trunk/JavaScriptCore/runtime/JSObject.h
- Timestamp:
- Aug 13, 2009, 10:35:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSObject.h
r47022 r47267 28 28 #include "CommonIdentifiers.h" 29 29 #include "CallFrame.h" 30 #include "JSCell.h" 30 31 #include "JSNumberCell.h" 32 #include "MarkStack.h" 31 33 #include "PropertySlot.h" 32 34 #include "PutPropertySlot.h" … … 75 77 76 78 virtual void markChildren(MarkStack&); 79 ALWAYS_INLINE void markChildrenDirect(MarkStack& markStack); 77 80 78 81 // The inline virtual destructor cannot be the first virtual function declared … … 202 205 static PassRefPtr<Structure> createStructure(JSValue prototype) 203 206 { 204 return Structure::create(prototype, TypeInfo(ObjectType, HasStandardGetOwnPropertySlot ));207 return Structure::create(prototype, TypeInfo(ObjectType, HasStandardGetOwnPropertySlot | HasDefaultMark)); 205 208 } 206 209 … … 628 631 } 629 632 633 ALWAYS_INLINE void JSObject::markChildrenDirect(MarkStack& markStack) 634 { 635 JSCell::markChildren(markStack); 636 m_structure->markAggregate(markStack); 637 638 PropertyStorage storage = propertyStorage(); 639 size_t storageSize = m_structure->propertyStorageSize(); 640 markStack.appendValues(reinterpret_cast<JSValue*>(storage), storageSize); 641 } 642 630 643 } // namespace JSC 631 644
Note:
See TracChangeset
for help on using the changeset viewer.