Changeset 161914 in webkit for trunk/Source/JavaScriptCore/heap/Heap.cpp
- Timestamp:
- Jan 13, 2014, 3:50:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/Heap.cpp
r161615 r161914 490 490 HeapRootVisitor heapRootVisitor(visitor); 491 491 492 #if ENABLE(GGC) 492 493 Vector<const JSCell*> rememberedSet(m_slotVisitor.markStack().size()); 493 494 m_slotVisitor.markStack().fillVector(rememberedSet); 495 #endif 494 496 495 497 { … … 596 598 } 597 599 600 #if ENABLE(GGC) 598 601 { 599 602 GCPHASE(ClearRememberedSet); … … 603 606 } 604 607 } 608 #endif 605 609 606 610 GCCOUNTER(VisitedValueCount, visitor.visitCount()); … … 1077 1081 void Heap::writeBarrier(const JSCell* from) 1078 1082 { 1083 #if ENABLE(GGC) 1079 1084 ASSERT_GC_OBJECT_LOOKS_VALID(const_cast<JSCell*>(from)); 1080 1085 if (!from || !isMarked(from)) … … 1082 1087 Heap* heap = Heap::heap(from); 1083 1088 heap->addToRememberedSet(from); 1089 #else 1090 UNUSED_PARAM(from); 1091 #endif 1084 1092 } 1085 1093
Note:
See TracChangeset
for help on using the changeset viewer.