Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 0f2f9e08809672fdfc8c7f03290fa08c2fcbffea..d5c40ad154ad0e8de49a1ba86de2a659c352dbb7 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4885,13 +4885,6 @@ MaybeObject* Heap::CopyJSObject(JSObject* source, AllocationSite* site) { |
AllocationMemento* alloc_memento = reinterpret_cast<AllocationMemento*>( |
reinterpret_cast<Address>(clone) + object_size); |
InitializeAllocationMemento(alloc_memento, site); |
- HeapProfiler* profiler = isolate()->heap_profiler(); |
- if (profiler->is_tracking_allocations()) { |
- profiler->UpdateObjectSizeEvent(HeapObject::cast(clone)->address(), |
- object_size); |
- profiler->NewObjectEvent(alloc_memento->address(), |
- AllocationMemento::kSize); |
- } |
} |
} |