Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 0f0c9a9ce457db332e7e01ffc8d2843e61866514..bc8bfe3215383fa4a03a6664286dcd51bef0ec00 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -1672,6 +1672,15 @@ void Heap::Scavenge() { |
RememberedSet<OLD_TO_NEW>::Iterate(this, [this](Address addr) { |
return Scavenger::CheckAndScavengeObject(this, addr); |
}); |
+ |
+ RememberedSet<OLD_TO_NEW>::IterateTyped( |
+ this, [this](SlotType type, Address addr) { |
+ return UpdateTypedSlotHelper::UpdateTypedSlot( |
+ isolate(), type, addr, [this](Object** addr) { |
+ return Scavenger::CheckAndScavengeObject( |
+ this, reinterpret_cast<Address>(addr)); |
+ }); |
+ }); |
} |
{ |