Commit 70918cb8 authored by alexeif@chromium.org's avatar alexeif@chromium.org

Always show link to prototype transitions in heap snapshot.

... otherwise it is shown as a hidden reference with a meaningless name.

Review URL: https://chromiumcodereview.appspot.com/10041028

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11378 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3b3e701a
...@@ -2083,14 +2083,10 @@ void V8HeapExplorer::ExtractReferences(HeapObject* obj) { ...@@ -2083,14 +2083,10 @@ void V8HeapExplorer::ExtractReferences(HeapObject* obj) {
"descriptors", map->instance_descriptors(), "descriptors", map->instance_descriptors(),
Map::kInstanceDescriptorsOrBitField3Offset); Map::kInstanceDescriptorsOrBitField3Offset);
} }
if (map->prototype_transitions() != heap_->empty_fixed_array()) {
TagObject(map->prototype_transitions(), "(prototype transitions)"); TagObject(map->prototype_transitions(), "(prototype transitions)");
SetInternalReference(obj, SetInternalReference(obj, entry,
entry, "prototype_transitions", map->prototype_transitions(),
"prototype_transitions",
map->prototype_transitions(),
Map::kPrototypeTransitionsOffset); Map::kPrototypeTransitionsOffset);
}
SetInternalReference(obj, entry, SetInternalReference(obj, entry,
"code_cache", map->code_cache(), "code_cache", map->code_cache(),
Map::kCodeCacheOffset); Map::kCodeCacheOffset);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment