Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index eb2ffcff18094e3e3b2fe37c4a1dbe7276ea9e97..df9118421ebcb6d6e60d1471c0be668b4378e84d 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7915,6 +7915,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; |