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

Unified Diff: src/objects-printer.cc

Issue 1680513002: [runtime] We don't need an actual instance type for JSIteratorResult. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 e3432a8da85aa324e836648338bffcbc2bfa594d..0534bcfdf9e974d9e68c70064e68c34f559a4494 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -146,9 +146,6 @@ void HeapObject::HeapObjectPrint(std::ostream& os) { // NOLINT
case JS_MAP_ITERATOR_TYPE:
JSMapIterator::cast(this)->JSMapIteratorPrint(os);
break;
- case JS_ITERATOR_RESULT_TYPE:
- JSIteratorResult::cast(this)->JSIteratorResultPrint(os);
- break;
case JS_WEAK_MAP_TYPE:
JSWeakMap::cast(this)->JSWeakMapPrint(os);
break;
@@ -800,14 +797,6 @@ void JSMapIterator::JSMapIteratorPrint(std::ostream& os) { // NOLINT
}
-void JSIteratorResult::JSIteratorResultPrint(std::ostream& os) { // NOLINT
- JSObjectPrintHeader(os, this, "JSIteratorResult");
- os << "\n - done = " << Brief(done());
- os << "\n - value = " << Brief(value());
- os << "\n";
-}
-
-
void JSWeakMap::JSWeakMapPrint(std::ostream& os) { // NOLINT
JSObjectPrintHeader(os, this, "JSWeakMap");
os << "\n - table = " << Brief(table());
« src/objects.h ('K') | « src/objects-inl.h ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698