Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index f770533a1b8f5e09da39d87776bc23d914a09414..ee39fdd069c43bd2b35e2ccf27ac6ef21a3a3aed 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -555,8 +555,6 @@ void String::StringVerify() { |
ConsString::cast(this)->ConsStringVerify(); |
} else if (IsSlicedString()) { |
SlicedString::cast(this)->SlicedStringVerify(); |
- } else if (IsThinString()) { |
- ThinString::cast(this)->ThinStringVerify(); |
} |
} |
@@ -568,17 +566,12 @@ void ConsString::ConsStringVerify() { |
CHECK(this->length() >= ConsString::kMinLength); |
CHECK(this->length() == this->first()->length() + this->second()->length()); |
if (this->IsFlat()) { |
- // A flat cons can only be created by String::SlowFlatten. |
- // Afterwards, the first part may be externalized or internalized. |
- CHECK(this->first()->IsSeqString() || this->first()->IsExternalString() || |
- this->first()->IsThinString()); |
+ // A flat cons can only be created by String::SlowTryFlatten. |
+ // Afterwards, the first part may be externalized. |
+ CHECK(this->first()->IsSeqString() || this->first()->IsExternalString()); |
} |
} |
-void ThinString::ThinStringVerify() { |
- CHECK(this->actual()->IsInternalizedString()); |
- CHECK(this->actual()->IsSeqString() || this->actual()->IsExternalString()); |
-} |
void SlicedString::SlicedStringVerify() { |
CHECK(!this->parent()->IsConsString()); |