Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 48182152a374b07b387d103ce690d865519eab66..f6ab1378b9b79c5cb2d290dd7c14c9cf074c8d7e 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -193,6 +193,9 @@ void HeapObject::HeapObjectPrint(std::ostream& os) { // NOLINT |
case JS_TYPED_ARRAY_TYPE: |
JSTypedArray::cast(this)->JSTypedArrayPrint(os); |
break; |
+ case JS_FIXED_ARRAY_ITERATOR_TYPE: |
+ JSFixedArrayIterator::cast(this)->JSFixedArrayIteratorPrint(os); |
+ break; |
case JS_DATA_VIEW_TYPE: |
JSDataView::cast(this)->JSDataViewPrint(os); |
break; |
@@ -949,6 +952,14 @@ void JSTypedArray::JSTypedArrayPrint(std::ostream& os) { // NOLINT |
JSObjectPrintBody(os, this, !WasNeutered()); |
} |
+void JSFixedArrayIterator::JSFixedArrayIteratorPrint( |
+ std::ostream& os) { // NOLINT |
+ JSObjectPrintHeader(os, this, "JSFixedArrayIterator"); |
+ os << "\n - next = " << Brief(next()); |
+ os << "\n - array = " << Brief(array()); |
+ os << "\n - index = " << index(); |
+ JSObjectPrintBody(os, this); |
+} |
void JSDataView::JSDataViewPrint(std::ostream& os) { // NOLINT |
JSObjectPrintHeader(os, this, "JSDataView"); |