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

Unified Diff: src/objects-printer.cc

Issue 2460353002: [modules] Make ModuleInfoEntry a Struct rather than FixedArray. (Closed)
Patch Set: Remove extra semicolons after macro use. Created 4 years, 1 month 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
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index 2056f767a2af54d797427a6208ed2faa6410be7a..47bee0c070d11107c15069c71acf34bb609d1d0a 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -1186,6 +1186,18 @@ void PromiseReactionJobInfo::PromiseReactionJobInfoPrint(
os << "\n";
}
+void ModuleInfoEntry::ModuleInfoEntryPrint(std::ostream& os) { // NOLINT
+ HeapObject::PrintHeader(os, "ModuleInfoEntry");
+ os << "\n - export_name: " << Brief(export_name());
+ os << "\n - local_name: " << Brief(local_name());
+ os << "\n - import_name: " << Brief(import_name());
+ os << "\n - module_request: " << module_request();
+ os << "\n - cell_index: " << cell_index();
+ os << "\n - beg_pos: " << beg_pos();
+ os << "\n - end_pos: " << end_pos();
+ os << "\n";
+}
+
void Module::ModulePrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "Module");
os << "\n - code: " << Brief(code());
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698