Revision: 11378
Author: [email protected]
Date: Wed Apr 18 10:02:57 2012
Log: 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
http://code.google.com/p/v8/source/detail?r=11378
Modified:
/branches/bleeding_edge/src/profile-generator.cc
=======================================
--- /branches/bleeding_edge/src/profile-generator.cc Tue Apr 17 08:57:35
2012
+++ /branches/bleeding_edge/src/profile-generator.cc Wed Apr 18 10:02:57
2012
@@ -2083,14 +2083,10 @@
"descriptors", map->instance_descriptors(),
Map::kInstanceDescriptorsOrBitField3Offset);
}
- if (map->prototype_transitions() != heap_->empty_fixed_array()) {
- TagObject(map->prototype_transitions(), "(prototype transitions)");
- SetInternalReference(obj,
- entry,
- "prototype_transitions",
- map->prototype_transitions(),
- Map::kPrototypeTransitionsOffset);
- }
+ TagObject(map->prototype_transitions(), "(prototype transitions)");
+ SetInternalReference(obj, entry,
+ "prototype_transitions",
map->prototype_transitions(),
+ Map::kPrototypeTransitionsOffset);
SetInternalReference(obj, entry,
"code_cache", map->code_cache(),
Map::kCodeCacheOffset);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev