Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index a88b83afeae62836764946ff30ef194f3526eb72..b7a3ced1630698ffd7218d3e9d33805da5c408d3 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -341,8 +341,7 @@ bool String::IsTwoByteRepresentationUnderneath() { |
bool String::HasOnlyAsciiChars() { |
uint32_t type = map()->instance_type(); |
- return (type & kStringEncodingMask) == kOneByteStringTag || |
- (type & kAsciiDataHintMask) == kAsciiDataHintTag; |
+ return (type & kAsciiDataHintMask) == kAsciiDataHintTag; |
} |