Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: src/api.cc

Issue 9858016: I'd like to add HeapSnapshot::GetMaxSnapshotJSObjectId function. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: printf was removed, typo was fixed. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 706cfa0ae239e47479e225c6a88acc53bb2f0e0c..3a86140cc41b4efc9797bfe06b55c07a86ab0232 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -6157,6 +6157,11 @@ const HeapGraphNode* HeapSnapshot::GetNode(int index) const {
}
+SnapshotObjectId HeapSnapshot::GetMaxSnapshotJSObjectId() const {
+ return ToInternal(this)->max_snapshot_js_object_id();
mnaganov (inactive) 2012/03/26 15:55:37 Please add i::Isolate* isolate = i::Isolate::Curr
+}
+
+
void HeapSnapshot::Serialize(OutputStream* stream,
HeapSnapshot::SerializationFormat format) const {
i::Isolate* isolate = i::Isolate::Current();
« no previous file with comments | « include/v8-profiler.h ('k') | src/profile-generator.h » ('j') | src/profile-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698