Index: src/profiler/heap-snapshot-generator-inl.h |
diff --git a/src/profiler/heap-snapshot-generator-inl.h b/src/profiler/heap-snapshot-generator-inl.h |
index fb1e891c94ef2aa10af9849b7965bafb13710f09..169ab569e82dc86ef8a4fe1009d9806e682ae370 100644 |
--- a/src/profiler/heap-snapshot-generator-inl.h |
+++ b/src/profiler/heap-snapshot-generator-inl.h |
@@ -16,6 +16,11 @@ HeapEntry* HeapGraphEdge::from() const { |
} |
+Isolate* HeapGraphEdge::isolate() const { |
+ return snapshot()->profiler()->isolate(); |
+} |
+ |
+ |
HeapSnapshot* HeapGraphEdge::snapshot() const { |
return to_entry_->snapshot(); |
} |
@@ -43,6 +48,8 @@ HeapGraphEdge** HeapEntry::children_arr() { |
} |
+Isolate* HeapEntry::isolate() const { return snapshot_->profiler()->isolate(); } |
+ |
} // namespace internal |
} // namespace v8 |