Index: src/profiler/heap-snapshot-generator.h |
diff --git a/src/profiler/heap-snapshot-generator.h b/src/profiler/heap-snapshot-generator.h |
index 865dd56ad173e8bfe63cb912b8991164ccc16842..fd1cb63881f990d414b741af7b43dc5cb52fb32d 100644 |
--- a/src/profiler/heap-snapshot-generator.h |
+++ b/src/profiler/heap-snapshot-generator.h |
@@ -50,6 +50,8 @@ class HeapGraphEdge BASE_EMBEDDED { |
INLINE(HeapEntry* from() const); |
HeapEntry* to() const { return to_entry_; } |
+ INLINE(Isolate* isolate() const); |
+ |
private: |
INLINE(HeapSnapshot* snapshot() const); |
int from_index() const { return FromIndexField::decode(bit_field_); } |
@@ -115,6 +117,7 @@ class HeapEntry BASE_EMBEDDED { |
} |
Vector<HeapGraphEdge*> children() { |
return Vector<HeapGraphEdge*>(children_arr(), children_count_); } |
+ INLINE(Isolate* isolate() const); |
void SetIndexedReference( |
HeapGraphEdge::Type type, int index, HeapEntry* entry); |