summaryrefslogtreecommitdiff
path: root/deps/v8/src/profiler/heap-snapshot-generator-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/profiler/heap-snapshot-generator-inl.h')
-rw-r--r--deps/v8/src/profiler/heap-snapshot-generator-inl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/v8/src/profiler/heap-snapshot-generator-inl.h b/deps/v8/src/profiler/heap-snapshot-generator-inl.h
index fb1e891c94..169ab569e8 100644
--- a/deps/v8/src/profiler/heap-snapshot-generator-inl.h
+++ b/deps/v8/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