Chromium Code Reviews| Index: src/heap/heap.cc |
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
| index f40fe4b958d42afe3ad05ad12af7cfc25a4b8fe9..5a380a5affef1e1f95f2ddc0a593ce2b86825d13 100644 |
| --- a/src/heap/heap.cc |
| +++ b/src/heap/heap.cc |
| @@ -5449,6 +5449,11 @@ void Heap::CheckHandleCount() { |
| isolate_->handle_scope_implementer()->Iterate(&v); |
| } |
| +void Heap::ClearRecordedSlot(HeapObject* object, Object** slot) { |
| + if (!InNewSpace(object)) { |
| + store_buffer()->Remove(reinterpret_cast<Address>(slot)); |
| + } |
| +} |
| Space* AllSpaces::next() { |
| switch (counter_++) { |