Chromium Code Reviews| Index: src/objects-debug.cc |
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
| index 5045e1e11773955b8765f38284ed4c87022c75f4..813b88d6afdcc11bc09129d0fc1ee85061cbce5f 100644 |
| --- a/src/objects-debug.cc |
| +++ b/src/objects-debug.cc |
| @@ -473,7 +473,9 @@ void String::StringVerify() { |
| void SeqOneByteString::SeqOneByteStringVerify() { |
| - CHECK(String::IsAscii(GetChars(), length())); |
| +#ifndef ENABLE_LATIN_1 |
| + CHECK(!HasOnlyAsciiChars() || String::IsAscii(GetChars(), length())); |
| +#endif |
| } |