| Index: src/heap-profiler.h
|
| diff --git a/src/heap-profiler.h b/src/heap-profiler.h
|
| index 74002278d40beb1a23a06523da4d5c6066911c9f..9636041ed611084666f91cde92ffa36410d1dd44 100644
|
| --- a/src/heap-profiler.h
|
| +++ b/src/heap-profiler.h
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "heap-snapshot-generator-inl.h"
|
| #include "isolate.h"
|
| +#include "arguments.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -56,10 +57,6 @@ class HeapProfiler {
|
| void StartHeapObjectsTracking();
|
| void StopHeapObjectsTracking();
|
|
|
| - static void RecordObjectAllocationFromMasm(Isolate* isolate,
|
| - Address obj,
|
| - int size);
|
| -
|
| SnapshotObjectId PushHeapObjectsStats(OutputStream* stream);
|
| int GetSnapshotsCount();
|
| HeapSnapshot* GetSnapshot(int index);
|
| @@ -105,6 +102,10 @@ class HeapProfiler {
|
| bool is_tracking_allocations_;
|
| };
|
|
|
| +
|
| +DECLARE_RUNTIME_FUNCTION(MaybeObject*, HeapProfiler_RecordObjectAllocation);
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_HEAP_PROFILER_H_
|
|
|