Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 08378f195525fc4c3272f72356547dc360a3f823..804cd26dabec268b48a8fc5d7e1380704d7bd7a4 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -357,12 +357,8 @@ bool String::IsTwoByteRepresentationUnderneath() { |
bool String::HasOnlyOneByteChars() { |
uint32_t type = map()->instance_type(); |
- return (type & kOneByteDataHintMask) == kOneByteDataHintTag; |
-} |
- |
- |
-bool String::IsOneByteConvertible() { |
- return HasOnlyOneByteChars() || IsOneByteRepresentation(); |
+ return (type & kOneByteDataHintMask) == kOneByteDataHintTag || |
+ IsOneByteRepresentation(); |
} |