Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: src/objects-printer.cc

Issue 2406343002: [promises] Move PromiseReactionJob to c++ (Closed)
Patch Set: remove ; Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index 9054371e849c6d9173cc243879b98a5015fc9cab..d85b69439cfd92bac1ca63f703376a40fdcc4e4f 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -1158,6 +1158,16 @@ 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 - deferrds: " << Brief(deferreds());
+ os << "\n - before debug event: " << Brief(before_debug_event());
+ os << "\n - after debug event: " << Brief(after_debug_event());
+ os << "\n";
+}
+
void Module::ModulePrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "Module");
os << "\n - code: " << Brief(code());

Powered by Google App Engine
This is Rietveld 408576698