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

Unified Diff: src/objects-printer.cc

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Leftovers. Created 4 years, 6 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 151749b74d2e64f97e9e56e4c69a53747d2c159b..f03c365684539a8ef8e09fe110057d818398490d 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -117,9 +117,6 @@ void HeapObject::HeapObjectPrint(std::ostream& os) { // NOLINT
case ODDBALL_TYPE:
Oddball::cast(this)->to_string()->Print(os);
break;
- case JS_MODULE_TYPE:
- JSModule::cast(this)->JSModulePrint(os);
- break;
case JS_BOUND_FUNCTION_TYPE:
JSBoundFunction::cast(this)->JSBoundFunctionPrint(os);
break;
@@ -453,14 +450,6 @@ void JSRegExp::JSRegExpPrint(std::ostream& os) { // NOLINT
}
-void JSModule::JSModulePrint(std::ostream& os) { // NOLINT
- JSObjectPrintHeader(os, this, "JSModule");
- os << "\n - context = " << Brief(context());
- os << " - scope_info = " << Brief(scope_info());
- JSObjectPrintBody(os, this);
-}
-
-
void Symbol::SymbolPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "Symbol");
os << "\n - hash: " << Hash();
« src/ast/scopes.cc ('K') | « src/objects-inl.h ('k') | src/parsing/pattern-rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698