Index: src/heap/heap-inl.h |
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h |
index 96437396c1fc75662e42024962586f79cee499af..33b11ea5d044fd06c17aff82e7c9268db6fdc6dd 100644 |
--- a/src/heap/heap-inl.h |
+++ b/src/heap/heap-inl.h |
@@ -460,14 +460,6 @@ void Heap::CopyBlock(Address dst, Address src, int byte_size) { |
static_cast<size_t>(byte_size / kPointerSize)); |
} |
-void Heap::UpdateNewSpaceAllocationCounter() { |
- new_space_allocation_counter_ = NewSpaceAllocationCounter(); |
-} |
- |
-size_t Heap::NewSpaceAllocationCounter() { |
- return new_space_allocation_counter_ + new_space()->AllocatedSinceLastGC(); |
-} |
- |
template <Heap::FindMementoMode mode> |
AllocationMemento* Heap::FindAllocationMemento(HeapObject* object) { |
// Check if there is potentially a memento behind the object. If |