Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 9054371e849c6d9173cc243879b98a5015fc9cab..6acda6e9fdcce86714747e371d3512b9a73113e0 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -1158,6 +1158,17 @@ void PromiseContainer::PromiseContainerPrint(std::ostream& os) { // NOLINT |
os << "\n"; |
} |
+void PromiseHandleInfo::PromiseHandleInfoPrint(std::ostream& os) { // NOLINT |
+ HeapObject::PrintHeader(os, "PromiseHandleInfo"); |
+ os << "\n - value: " << Brief(value()); |
+ os << "\n - tasks: " << Brief(tasks()); |
+ os << "\n - deferred: " << Brief(deferred()); |
+ os << "\n - before debug event: " << Brief(before_debug_event()); |
+ os << "\n - after debug event: " << Brief(after_debug_event()); |
+ os << "\n - reaction context: " << Brief(reaction_context()); |
+ os << "\n"; |
+} |
+ |
void Module::ModulePrint(std::ostream& os) { // NOLINT |
HeapObject::PrintHeader(os, "Module"); |
os << "\n - code: " << Brief(code()); |