Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index db3d041c18d536a700ee5eced5921975c2a16d41..d0ea0346579bee9151feea83bc0958c54459299d 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -847,6 +847,11 @@ void PropertyCell::PropertyCellPrint(std::ostream& os) { // NOLINT |
void WeakCell::WeakCellPrint(std::ostream& os) { // NOLINT |
HeapObject::PrintHeader(os, "WeakCell"); |
+ if (cleared()) { |
+ os << "\n - cleared"; |
+ } else { |
+ os << "\n - value: " << Brief(value()); |
+ } |
} |