| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index b7329a98a83b09ccee8d24fc96a7bae07ab05d5a..811c54fa219011808ccd559a4ea919d6d36acda4 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -231,26 +231,27 @@ void JSObject::PrintProperties(std::ostream& os) { // NOLINT
|
| descs->GetKey(i)->NamePrint(os);
|
| os << ": ";
|
| switch (descs->GetType(i)) {
|
| - case FIELD: {
|
| + case DATA: {
|
| 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 << " (data field at offset " << index.property_index() << ")\n";
|
| break;
|
| }
|
| - case ACCESSOR_FIELD: {
|
| + case ACCESSOR: {
|
| FieldIndex index = FieldIndex::ForDescriptor(map(), i);
|
| - os << " (accessor at offset " << index.property_index() << ")\n";
|
| + os << " (accessor field at offset " << index.property_index()
|
| + << ")\n";
|
| break;
|
| }
|
| - case CONSTANT:
|
| - os << Brief(descs->GetConstant(i)) << " (constant)\n";
|
| + case DATA_CONSTANT:
|
| + os << Brief(descs->GetConstant(i)) << " (data constant)\n";
|
| break;
|
| - case CALLBACKS:
|
| - os << Brief(descs->GetCallbacksObject(i)) << " (callbacks)\n";
|
| + case ACCESSOR_CONSTANT:
|
| + os << Brief(descs->GetCallbacksObject(i)) << " (accessor constant)\n";
|
| break;
|
| }
|
| }
|
| @@ -1177,11 +1178,11 @@ void TransitionArray::PrintTransitions(std::ostream& os,
|
| } else {
|
| PropertyDetails details = GetTargetDetails(key, target);
|
| os << " (transition to ";
|
| - if (details.location() == IN_DESCRIPTOR) {
|
| + if (details.location() == kDescriptor) {
|
| os << "immutable ";
|
| }
|
| - os << (details.kind() == DATA ? "data" : "accessor");
|
| - if (details.location() == IN_DESCRIPTOR) {
|
| + os << (details.kind() == kData ? "data" : "accessor");
|
| + if (details.location() == kDescriptor) {
|
| os << " " << Brief(GetTargetValue(i));
|
| }
|
| os << "), attrs: " << details.attributes();
|
|
|