Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 3fdbd63df7252569676c7b5c85143a9451240408..a9940e2590ccb3197df51d10ac9d6d16e0cb3242 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -1072,14 +1072,13 @@ class Heap { |
// Iterates over all the other roots in the heap. |
void IterateWeakRoots(ObjectVisitor* v, VisitMode mode); |
- // Iterate pointers to from semispace of new space found in memory interval |
- // from start to end within |object|. |
- void IteratePointersToFromSpace(HeapObject* target, int size, |
- ObjectSlotCallback callback); |
+ // Iterate pointers of promoted objects. |
+ void IteratePromotedObject(HeapObject* target, int size, |
+ ObjectSlotCallback callback); |
- void IterateAndMarkPointersToFromSpace(HeapObject* object, Address start, |
- Address end, bool record_slots, |
- ObjectSlotCallback callback); |
+ void IteratePromotedObjectPointers(HeapObject* object, Address start, |
+ Address end, bool record_slots, |
+ ObjectSlotCallback callback); |
// =========================================================================== |
// Store buffer API. ========================================================= |
@@ -2237,7 +2236,7 @@ class Heap { |
friend class HeapIterator; |
friend class IdleScavengeObserver; |
friend class IncrementalMarking; |
- friend class IteratePointersToFromSpaceVisitor; |
+ friend class IteratePromotedObjectsVisitor; |
friend class MarkCompactCollector; |
friend class MarkCompactMarkingVisitor; |
friend class NewSpace; |