| Index: src/heap-inl.h
|
| diff --git a/src/heap-inl.h b/src/heap-inl.h
|
| index 2d4b10ed1f3eaa42de6402f8fce370da94db2ed0..525c634da626809c7c1bdfa3ce70b512e8eca621 100644
|
| --- a/src/heap-inl.h
|
| +++ b/src/heap-inl.h
|
| @@ -236,7 +236,7 @@ MaybeObject* Heap::AllocateRaw(int size_in_bytes,
|
| space = retry_space;
|
| } else {
|
| if (profiler->is_tracking_allocations() && result->To(&object)) {
|
| - profiler->NewObjectEvent(object->address(), size_in_bytes);
|
| + profiler->AllocationEvent(object->address(), size_in_bytes);
|
| }
|
| return result;
|
| }
|
| @@ -260,7 +260,7 @@ MaybeObject* Heap::AllocateRaw(int size_in_bytes,
|
| }
|
| if (result->IsFailure()) old_gen_exhausted_ = true;
|
| if (profiler->is_tracking_allocations() && result->To(&object)) {
|
| - profiler->NewObjectEvent(object->address(), size_in_bytes);
|
| + profiler->AllocationEvent(object->address(), size_in_bytes);
|
| }
|
| return result;
|
| }
|
|
|