Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 415bd41bb19496036f3bda9a6c78ac55ec033ecd..e2d3fa658b1920e46de199e91cd49eb09319c9d9 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7660,6 +7660,16 @@ void HeapProfiler::SetRetainedObjectInfo(UniqueId id, |
} |
+void HeapProfiler::StartRecordingHeapAllocations() { |
+ reinterpret_cast<i::HeapProfiler*>(this)->StartHeapAllocationsRecording(); |
+} |
+ |
+ |
+void HeapProfiler::StopRecordingHeapAllocations() { |
+ reinterpret_cast<i::HeapProfiler*>(this)->StopHeapAllocationsRecording(); |
+} |
+ |
+ |
v8::Testing::StressType internal::Testing::stress_type_ = |
v8::Testing::kStressTypeOpt; |