Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 36448764ab1c402b4384c3e90b58fbec3c625792..9ed65d8107ddc04a38e72b61c1002c483562bcf4 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -653,24 +653,12 @@ void ExternalStringTable::Verify() { |
// TODO(yangguo): check that the object is indeed an external string. |
ASSERT(heap_->InNewSpace(obj)); |
ASSERT(obj != HEAP->the_hole_value()); |
-#ifndef ENABLE_LATIN_1 |
- if (obj->IsExternalAsciiString()) { |
- ExternalAsciiString* string = ExternalAsciiString::cast(obj); |
- ASSERT(String::IsAscii(string->GetChars(), string->length())); |
- } |
-#endif |
} |
for (int i = 0; i < old_space_strings_.length(); ++i) { |
Object* obj = Object::cast(old_space_strings_[i]); |
// TODO(yangguo): check that the object is indeed an external string. |
ASSERT(!heap_->InNewSpace(obj)); |
ASSERT(obj != HEAP->the_hole_value()); |
-#ifndef ENABLE_LATIN_1 |
- if (obj->IsExternalAsciiString()) { |
- ExternalAsciiString* string = ExternalAsciiString::cast(obj); |
- ASSERT(String::IsAscii(string->GetChars(), string->length())); |
- } |
-#endif |
} |
#endif |
} |