Commit 44b4ae1c authored by danno@chromium.org's avatar danno@chromium.org

Add elements kind to maps debugging output

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7966019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9410 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1311b8f0
...@@ -532,7 +532,9 @@ void Map::MapPrint(FILE* out) { ...@@ -532,7 +532,9 @@ void Map::MapPrint(FILE* out) {
PrintF(out, " - type: %s\n", TypeToString(instance_type())); PrintF(out, " - type: %s\n", TypeToString(instance_type()));
PrintF(out, " - instance size: %d\n", instance_size()); PrintF(out, " - instance size: %d\n", instance_size());
PrintF(out, " - inobject properties: %d\n", inobject_properties()); PrintF(out, " - inobject properties: %d\n", inobject_properties());
PrintF(out, " - pre-allocated property fields: %d\n", PrintF(out, " - elements kind: ");
PrintElementsKind(out, elements_kind());
PrintF(out, "\n - pre-allocated property fields: %d\n",
pre_allocated_property_fields()); pre_allocated_property_fields());
PrintF(out, " - unused property fields: %d\n", unused_property_fields()); PrintF(out, " - unused property fields: %d\n", unused_property_fields());
if (is_hidden_prototype()) { if (is_hidden_prototype()) {
......
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