| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 45ff33c2d289cb20dc2d7e03df7abaa72797d0b8..2fb924cfc99a19b94d964ddd364c7545d16f3d81 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -233,12 +233,8 @@ void JSObject::PrintProperties(std::ostream& os) { // NOLINT
|
| switch (descs->GetType(i)) {
|
| case FIELD: {
|
| FieldIndex index = FieldIndex::ForDescriptor(map(), i);
|
| - if (IsUnboxedDoubleField(index)) {
|
| - os << "<unboxed double> " << RawFastDoublePropertyAt(index);
|
| - } else {
|
| - os << Brief(RawFastPropertyAt(index));
|
| - }
|
| - os << " (field at offset " << index.property_index() << ")\n";
|
| + os << Brief(RawFastPropertyAt(index)) << " (field at offset "
|
| + << index.property_index() << ")\n";
|
| break;
|
| }
|
| case CONSTANT:
|
| @@ -434,9 +430,6 @@ void Map::MapPrint(std::ostream& os) { // NOLINT
|
| os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "")
|
| << "#" << NumberOfOwnDescriptors() << ": "
|
| << Brief(instance_descriptors());
|
| - if (FLAG_unbox_double_fields) {
|
| - os << "\n - layout descriptor: " << Brief(layout_descriptor());
|
| - }
|
| if (HasTransitionArray()) {
|
| os << "\n - transitions: " << Brief(transitions());
|
| }
|
| @@ -445,9 +438,6 @@ void Map::MapPrint(std::ostream& os) { // NOLINT
|
| os << "\n - code cache: " << Brief(code_cache());
|
| os << "\n - dependent code: " << Brief(dependent_code());
|
| os << "\n";
|
| - instance_descriptors()->PrintDescriptors(os);
|
| - os << "\n";
|
| - if (FLAG_unbox_double_fields) layout_descriptor()->Print(os);
|
| }
|
|
|
|
|
| @@ -1086,43 +1076,6 @@ void DescriptorArray::PrintDescriptors(std::ostream& os) { // NOLINT
|
| }
|
|
|
|
|
| -static void PrintBitMask(std::ostream& os, uint32_t value) { // NOLINT
|
| - for (int i = 0; i < 32; i++) {
|
| - if ((i & 7) == 0) os << " ";
|
| - os << (((value & 1) == 0) ? "_" : "x");
|
| - value >>= 1;
|
| - }
|
| -}
|
| -
|
| -
|
| -void LayoutDescriptor::Print() {
|
| - OFStream os(stdout);
|
| - this->Print(os);
|
| - os << std::flush;
|
| -}
|
| -
|
| -
|
| -void LayoutDescriptor::Print(std::ostream& os) { // NOLINT
|
| - os << "Layout descriptor: ";
|
| - if (IsUninitialized()) {
|
| - os << "<uninitialized>";
|
| - } else if (IsFastPointerLayout()) {
|
| - os << "<all tagged>";
|
| - } else if (IsSmi()) {
|
| - os << "fast";
|
| - PrintBitMask(os, static_cast<uint32_t>(Smi::cast(this)->value()));
|
| - } else {
|
| - os << "slow";
|
| - int len = length();
|
| - for (int i = 0; i < len; i++) {
|
| - if (i > 0) os << " |";
|
| - PrintBitMask(os, get_scalar(i));
|
| - }
|
| - }
|
| - os << "\n";
|
| -}
|
| -
|
| -
|
| void TransitionArray::Print() {
|
| OFStream os(stdout);
|
| this->PrintTransitions(os);
|
|
|