Index: src/heap/scavenger.cc |
diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc |
index 40aeb74aa95641039587ebec0cfa00be0a8fedaf..3700c5b083b9cc01b6a0b494547ae9d66b0a0746 100644 |
--- a/src/heap/scavenger.cc |
+++ b/src/heap/scavenger.cc |
@@ -236,7 +236,7 @@ class ScavengingVisitor : public StaticVisitorBase { |
if (Marking::IsBlack(mark_bit)) { |
// This object is black and it might not be rescanned by marker. |
// We should explicitly record code entry slot for compaction because |
- // promotion queue processing (IterateAndMarkPointersToFromSpace) will |
+ // promotion queue processing (IteratePromotedObjectPointers) will |
// miss it as it is not HeapObject-tagged. |
Address code_entry_slot = |
target->address() + JSFunction::kCodeEntryOffset; |