Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 231ca5a0e42568e9cf75e64946b22261924198bf..8a2b9eb2ad66f0d3362641fff5849fc4b0b607de 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -200,6 +200,9 @@ void HeapObject::HeapObjectVerify() { |
case JS_STRING_ITERATOR_TYPE: |
JSStringIterator::cast(this)->JSStringIteratorVerify(); |
break; |
+ case JS_ASYNC_FROM_SYNC_ITERATOR_TYPE: |
+ JSAsyncFromSyncIterator::cast(this)->JSAsyncFromSyncIteratorVerify(); |
+ break; |
case JS_WEAK_MAP_TYPE: |
JSWeakMap::cast(this)->JSWeakMapVerify(); |
break; |
@@ -890,6 +893,12 @@ void JSStringIterator::JSStringIteratorVerify() { |
CHECK_LE(index(), String::kMaxLength); |
} |
+void JSAsyncFromSyncIterator::JSAsyncFromSyncIteratorVerify() { |
+ CHECK(IsJSAsyncFromSyncIterator()); |
+ JSObjectVerify(); |
+ VerifyHeapPointer(sync_iterator()); |
+} |
+ |
void JSWeakSet::JSWeakSetVerify() { |
CHECK(IsJSWeakSet()); |
JSObjectVerify(); |