Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 32a3db643c950cdc8c7be0ce28d259d73ddb9a5b..469c7a1814df85e35e1e409684be5c22efa3437c 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7300,6 +7300,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; |