Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index ab9ce1af127c07043a0909ec3908cb1b90a14696..32ca39eaea1c2a35bce33cf06c03565750f14356 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; |
} |