Revision: 9410
Author:   [email protected]
Date:     Fri Sep 23 02:11:56 2011
Log:      Add elements kind to maps debugging output

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7966019
http://code.google.com/p/v8/source/detail?r=9410

Modified:
 /branches/bleeding_edge/src/objects-printer.cc

=======================================
--- /branches/bleeding_edge/src/objects-printer.cc      Thu Sep 22 06:54:53 2011
+++ /branches/bleeding_edge/src/objects-printer.cc      Fri Sep 23 02:11:56 2011
@@ -532,7 +532,9 @@
   PrintF(out, " - type: %s\n", TypeToString(instance_type()));
   PrintF(out, " - instance size: %d\n", instance_size());
   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());
   PrintF(out, " - unused property fields: %d\n", unused_property_fields());
   if (is_hidden_prototype()) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to