Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 706cfa0ae239e47479e225c6a88acc53bb2f0e0c..1feaf5a20c5af166c7f2c865c1c78e257c702bd2 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6157,6 +6157,13 @@ const HeapGraphNode* HeapSnapshot::GetNode(int index) const { |
} |
+SnapshotObjectId HeapSnapshot::GetMaxSnapshotJSObjectId() const { |
+ i::Isolate* isolate = i::Isolate::Current(); |
+ IsDeadCheck(isolate, "v8::HeapSnapshot::GetMaxSnapshotJSObjectId"); |
+ return ToInternal(this)->max_snapshot_js_object_id(); |
+} |
+ |
+ |
void HeapSnapshot::Serialize(OutputStream* stream, |
HeapSnapshot::SerializationFormat format) const { |
i::Isolate* isolate = i::Isolate::Current(); |