Index: src/heap-profiler.cc |
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc |
index 5c1badf9c90f16851255bc2edd03e1c170755283..4f6fdb1122d8c916e9d4f54b1ba96eadd994fe33 100644 |
--- a/src/heap-profiler.cc |
+++ b/src/heap-profiler.cc |
@@ -140,5 +140,10 @@ void HeapProfiler::ObjectMoveEvent(Address from, Address to) { |
snapshots_->ObjectMoveEvent(from, to); |
} |
+void HeapProfiler::SetRetainedObjectInfo(UniqueId id, |
+ RetainedObjectInfo* info) { |
+ // TODO(yurus, marja): Don't route this information through GlobalHandles. |
+ heap()->isolate()->global_handles()->SetRetainedObjectInfo(id, info); |
+} |
} } // namespace v8::internal |