Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 7ddfdfc8e48a8d3ae2fd358cb0ef610844a5a76f..9a520b24bdce619240668700a82d4829b1b004f2 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -357,12 +357,7 @@ bool String::IsTwoByteRepresentationUnderneath() { |
bool String::HasOnlyAsciiChars() { |
uint32_t type = map()->instance_type(); |
-#ifndef ENABLE_LATIN_1 |
- return (type & kStringEncodingMask) == kOneByteStringTag || |
- (type & kAsciiDataHintMask) == kAsciiDataHintTag; |
-#else |
return (type & kAsciiDataHintMask) == kAsciiDataHintTag; |
-#endif |
} |