Index: src/profile-generator-inl.h |
=================================================================== |
--- src/profile-generator-inl.h (revision 11348) |
+++ src/profile-generator-inl.h (working copy) |
@@ -95,6 +95,12 @@ |
} |
+HeapEntry* HeapGraphEdge::from() const { |
+ return const_cast<HeapEntry*>( |
+ reinterpret_cast<const HeapEntry*>(this - child_index_) - 1); |
+} |
+ |
+ |
SnapshotObjectId HeapObjectsMap::GetNthGcSubrootId(int delta) { |
return kGcRootsFirstSubrootId + delta * kObjectIdStep; |
} |