Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index a76c5a127c6f488a0302c1f7e6406cb33019b022..a4213226be4f4f62ff7923aa826d47ecbb2d795f 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1267,19 +1267,9 @@ void V8HeapExplorer::ExtractMapReferences(int entry, Map* map) { |
raw_transitions_or_prototype_info)) { |
TransitionArray* transitions = |
TransitionArray::cast(raw_transitions_or_prototype_info); |
- int transitions_entry = GetEntry(transitions)->index(); |
- |
- if (map->CanTransition()) { |
- if (transitions->HasPrototypeTransitions()) { |
- FixedArray* prototype_transitions = |
- transitions->GetPrototypeTransitions(); |
- MarkAsWeakContainer(prototype_transitions); |
- TagObject(prototype_transitions, "(prototype transitions"); |
- SetInternalReference(transitions, transitions_entry, |
- "prototype_transitions", prototype_transitions); |
- } |
- // TODO(alph): transitions keys are strong links. |
- MarkAsWeakContainer(transitions); |
+ if (map->CanTransition() && transitions->HasPrototypeTransitions()) { |
+ TagObject(transitions->GetPrototypeTransitions(), |
+ "(prototype transitions)"); |
} |
TagObject(transitions, "(transition array)"); |