Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index ea57b1a7a5fa97743f0dcf3c17f47a709c8ae2db..a59b1e9ae8094a9c171192674ba0c48b27cd9b56 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -174,12 +174,6 @@ void HeapObject::HeapObjectPrint(FILE* out) { |
case JS_MAP_TYPE: |
JSMap::cast(this)->JSMapPrint(out); |
break; |
- case JS_SET_ITERATOR_TYPE: |
- JSSetIterator::cast(this)->JSSetIteratorPrint(out); |
- break; |
- case JS_MAP_ITERATOR_TYPE: |
- JSMapIterator::cast(this)->JSMapIteratorPrint(out); |
- break; |
case JS_WEAK_MAP_TYPE: |
JSWeakMap::cast(this)->JSWeakMapPrint(out); |
break; |
@@ -728,7 +722,7 @@ void JSProxy::JSProxyPrint(FILE* out) { |
PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map())); |
PrintF(out, " - handler = "); |
handler()->Print(out); |
- PrintF(out, "\n - hash = "); |
+ PrintF(out, " - hash = "); |
hash()->Print(out); |
PrintF(out, "\n"); |
} |
@@ -739,9 +733,9 @@ void JSFunctionProxy::JSFunctionProxyPrint(FILE* out) { |
PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map())); |
PrintF(out, " - handler = "); |
handler()->Print(out); |
- PrintF(out, "\n - call_trap = "); |
+ PrintF(out, " - call_trap = "); |
call_trap()->Print(out); |
- PrintF(out, "\n - construct_trap = "); |
+ PrintF(out, " - construct_trap = "); |
construct_trap()->Print(out); |
PrintF(out, "\n"); |
} |
@@ -765,38 +759,6 @@ void JSMap::JSMapPrint(FILE* out) { |
} |
-template<class Derived, class TableType> |
-void OrderedHashTableIterator<Derived, TableType>:: |
- OrderedHashTableIteratorPrint(FILE* out) { |
- PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map())); |
- PrintF(out, " - table = "); |
- table()->ShortPrint(out); |
- PrintF(out, "\n - index = "); |
- index()->ShortPrint(out); |
- PrintF(out, "\n - count = "); |
- count()->ShortPrint(out); |
- PrintF(out, "\n - kind = "); |
- kind()->ShortPrint(out); |
- PrintF(out, "\n - next_iterator = "); |
- next_iterator()->ShortPrint(out); |
- PrintF(out, "\n - previous_iterator = "); |
- previous_iterator()->ShortPrint(out); |
- PrintF(out, "\n"); |
-} |
- |
- |
-void JSSetIterator::JSSetIteratorPrint(FILE* out) { |
- HeapObject::PrintHeader(out, "JSSetIterator"); |
- OrderedHashTableIteratorPrint(out); |
-} |
- |
- |
-void JSMapIterator::JSMapIteratorPrint(FILE* out) { |
- HeapObject::PrintHeader(out, "JSMapIterator"); |
- OrderedHashTableIteratorPrint(out); |
-} |
- |
- |
void JSWeakMap::JSWeakMapPrint(FILE* out) { |
HeapObject::PrintHeader(out, "JSWeakMap"); |
PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map())); |