Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 522676c34ab3735c47b239990216e892504720bd..9812c26e9e410be711b567bff01a0b8b4d061163 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -1951,6 +1951,10 @@ void V8HeapExplorer::ExtractReferences(HeapObject* obj) { |
SetInternalReference(obj, entry, 1, cs->first()); |
SetInternalReference(obj, entry, 2, cs->second()); |
} |
+ if (obj->IsSlicedString()) { |
+ SlicedString* ss = SlicedString::cast(obj); |
+ SetInternalReference(obj, entry, "parent", ss->parent()); |
+ } |
extract_indexed_refs = false; |
} else if (obj->IsGlobalContext()) { |
Context* context = Context::cast(obj); |