Changeset 81262 in webkit for trunk/Source/JavaScriptCore/runtime/ConservativeSet.cpp
- Timestamp:
- Mar 16, 2011, 11:35:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/ConservativeSet.cpp
r80995 r81262 27 27 #include "ConservativeSet.h" 28 28 29 #include "Heap.h"30 31 29 namespace JSC { 32 30 … … 54 52 ASSERT(isPointerAligned(end)); 55 53 56 for (char** it = static_cast<char**>(begin); it != static_cast<char**>(end); ++it) { 57 if (!m_heap->contains(*it)) 58 continue; 59 60 if (m_size == m_capacity) 61 grow(); 62 63 m_roots[m_size++] = reinterpret_cast<JSCell*>(*it); 64 } 54 for (char** it = static_cast<char**>(begin); it != static_cast<char**>(end); ++it) 55 add(*it); 65 56 } 66 57
Note:
See TracChangeset
for help on using the changeset viewer.