Changeset 34660 in webkit for trunk/JavaScriptCore/kjs/collector.cpp
- Timestamp:
- Jun 19, 2008, 11:03:23 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/collector.cpp
r34659 r34660 86 86 // This value has to be a macro to be used in max() without introducing 87 87 // a PIC branch in Mach-O binaries, see <rdar://problem/5971391>. 88 #define MIN_ARRAY_SIZE 14UL88 #define MIN_ARRAY_SIZE (static_cast<size_t>(14)) 89 89 90 90 Heap::Heap() 91 : m_pagesize(getpagesize()) 92 , mainThreadOnlyObjectCount(0) 91 : mainThreadOnlyObjectCount(0) 93 92 , m_markListSet(0) 93 #if PLATFORM(UNIX) 94 , m_pagesize(getpagesize()) 95 #endif 94 96 { 95 97 memset(&primaryHeap, 0, sizeof(CollectorHeap)); … … 477 479 } 478 480 481 #if PLATFORM(DARWIN) 479 482 void Heap::initializeHeapIntrospector() 480 483 { … … 482 485 CollectorHeapIntrospector::init(&primaryHeap, &numberHeap); 483 486 } 484 487 #endif 485 488 #endif 486 489
Note:
See TracChangeset
for help on using the changeset viewer.