Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 83e895108179d1fd83be71580dc2476efe3491d5..c8149bb3295d126256f6a27c75cbd92dd7fa970f 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -169,6 +169,9 @@ void HeapObject::HeapObjectPrint(std::ostream& os) { // NOLINT |
case PROPERTY_CELL_TYPE: |
PropertyCell::cast(this)->PropertyCellPrint(os); |
break; |
+ case WEAK_CELL_TYPE: |
+ WeakCell::cast(this)->WeakCellPrint(os); |
+ break; |
case JS_ARRAY_BUFFER_TYPE: |
JSArrayBuffer::cast(this)->JSArrayBufferPrint(os); |
break; |
@@ -862,6 +865,11 @@ void PropertyCell::PropertyCellPrint(std::ostream& os) { // NOLINT |
} |
+void WeakCell::WeakCellPrint(std::ostream& os) { // NOLINT |
+ HeapObject::PrintHeader(os, "WeakCell"); |
+} |
+ |
+ |
void Code::CodePrint(std::ostream& os) { // NOLINT |
HeapObject::PrintHeader(os, "Code"); |
#ifdef ENABLE_DISASSEMBLER |