Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index dff4dd232957c5e6e49bd4abeb37687be3e0d1b7..db3d041c18d536a700ee5eced5921975c2a16d41 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -247,9 +247,6 @@ void JSObject::PrintProperties(std::ostream& os) { // NOLINT |
case CALLBACKS: |
os << Brief(descs->GetCallbacksObject(i)) << " (callback)\n"; |
break; |
- case NORMAL: // only in slow mode |
- UNREACHABLE(); |
- break; |
} |
} |
} else { |
@@ -1073,6 +1070,7 @@ void DescriptorArray::Print() { |
void DescriptorArray::PrintDescriptors(std::ostream& os) { // NOLINT |
+ HandleScope scope(GetIsolate()); |
os << "Descriptor array " << number_of_descriptors() << "\n"; |
for (int i = 0; i < number_of_descriptors(); i++) { |
Descriptor desc; |
@@ -1157,10 +1155,6 @@ void TransitionArray::PrintTransitions(std::ostream& os, |
case CALLBACKS: |
os << " (transition to callback " << Brief(GetTargetValue(i)) << ")"; |
break; |
- // Values below are never in the target descriptor array. |
- case NORMAL: |
- UNREACHABLE(); |
- break; |
} |
os << ", attrs: " << details.attributes(); |
} |