Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 21f51e67045840bbef1c87e36229683b75620339..5902e0dda8cd6cc0ac47362849e6aa9a381f7a26 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -785,7 +785,8 @@ void JSWeakMap::JSWeakMapVerify() { |
void JSStringIterator::JSStringIteratorVerify() { |
CHECK(IsJSStringIterator()); |
JSObjectVerify(); |
- CHECK(string()->IsString()); |
+ CHECK(string()->IsSeqString() || string()->IsExternalString()); |
+ |
CHECK_GE(index(), 0); |
CHECK_LE(index(), String::kMaxLength); |
} |