| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 3aea5f0aacf9c9b143fe0f679ee7a1df81d9eb00..708852d6aeeb7bde9dec9f7b05cf72108e269d31 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -273,25 +273,6 @@ void JSObject::PrintProperties(FILE* out) {
|
| descs->GetCallbacksObject(i)->ShortPrint(out);
|
| PrintF(out, " (callback)\n");
|
| break;
|
| - case ELEMENTS_TRANSITION: {
|
| - PrintF(out, "(elements transition to ");
|
| - Object* descriptor_contents = descs->GetValue(i);
|
| - if (descriptor_contents->IsMap()) {
|
| - Map* map = Map::cast(descriptor_contents);
|
| - PrintElementsKind(out, map->elements_kind());
|
| - } else {
|
| - FixedArray* map_array = FixedArray::cast(descriptor_contents);
|
| - for (int i = 0; i < map_array->length(); ++i) {
|
| - Map* map = Map::cast(map_array->get(i));
|
| - if (i != 0) {
|
| - PrintF(out, ", ");
|
| - }
|
| - PrintElementsKind(out, map->elements_kind());
|
| - }
|
| - }
|
| - PrintF(out, ")\n");
|
| - break;
|
| - }
|
| case MAP_TRANSITION:
|
| PrintF(out, "(map transition)\n");
|
| break;
|
| @@ -438,6 +419,9 @@ void JSObject::JSObjectPrint(FILE* out) {
|
| PrintF(out,
|
| "]\n - prototype = %p\n",
|
| reinterpret_cast<void*>(GetPrototype()));
|
| + PrintF(out,
|
| + " - elements transition to = %p\n",
|
| + reinterpret_cast<void*>(map()->elements_transition_map()));
|
| PrintF(out, " {\n");
|
| PrintProperties(out);
|
| PrintElements(out);
|
|
|