Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index d58e8332ce4c09a7281e222842dab7d37f30a814..5e75fef160da1c39fd4763de5c79c41de68e7cf9 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -274,10 +274,6 @@ class Deserializer: public SerializerDeserializer { |
Address Allocate(int space_index, int size) { |
Address address = high_water_[space_index]; |
high_water_[space_index] = address + size; |
- HeapProfiler* profiler = isolate_->heap_profiler(); |
- if (profiler->is_tracking_allocations()) { |
- profiler->AllocationEvent(address, size); |
- } |
return address; |
} |