| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index e3cdcc145d0a44e42571a177a33d7b7025b3537e..3ae62fba18595aab16ad95424dc22c69203122a9 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -76,6 +76,9 @@ void HeapObject::HeapObjectPrint(std::ostream& os) { // NOLINT
|
| case BYTECODE_ARRAY_TYPE:
|
| BytecodeArray::cast(this)->BytecodeArrayPrint(os);
|
| break;
|
| + case TRANSITION_ARRAY_TYPE:
|
| + TransitionArray::cast(this)->TransitionArrayPrint(os);
|
| + break;
|
| case FREE_SPACE_TYPE:
|
| FreeSpace::cast(this)->FreeSpacePrint(os);
|
| break;
|
| @@ -553,6 +556,19 @@ void FixedDoubleArray::FixedDoubleArrayPrint(std::ostream& os) { // NOLINT
|
| }
|
|
|
|
|
| +void TransitionArray::TransitionArrayPrint(std::ostream& os) { // NOLINT
|
| + HeapObject::PrintHeader(os, "TransitionArray");
|
| + os << " - capacity: " << length();
|
| + for (int i = 0; i < length(); i++) {
|
| + os << "\n [" << i << "]: " << Brief(get(i));
|
| + if (i == kNextLinkIndex) os << " (next link)";
|
| + if (i == kPrototypeTransitionsIndex) os << " (prototype transitions)";
|
| + if (i == kTransitionLengthIndex) os << " (number of transitions)";
|
| + }
|
| + os << "\n";
|
| +}
|
| +
|
| +
|
| void TypeFeedbackMetadata::Print() {
|
| OFStream os(stdout);
|
| TypeFeedbackMetadataPrint(os);
|
|
|