Changeset 35663 in webkit for trunk/JavaScriptCore/kjs/collector.cpp
- Timestamp:
- Aug 11, 2008, 5:01:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/collector.cpp
r35639 r35663 135 135 Heap::~Heap() 136 136 { 137 // The global object is not GC protected at this point, so sweeping may delete it (and thus the global data) 138 // before other objects that may use the global data. 139 RefPtr<JSGlobalData> protect(m_globalData); 140 137 141 delete m_markListSet; 142 m_markListSet = 0; 143 138 144 sweep<PrimaryHeap>(); 139 145 // No need to sweep number heap, because the JSNumber destructor doesn't do anything.
Note:
See TracChangeset
for help on using the changeset viewer.