Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index ffc567b73a92aae20c5dba34fa59da0685322e90..9a95daa8be7a1c88678bc51958c06979a1c8a4de 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7235,13 +7235,13 @@ class String: public HeapObject { |
// be ASCII encoded. This might be the case even if the string is |
// two-byte. Such strings may appear when the embedder prefers |
// two-byte external representations even for ASCII data. |
- inline bool IsAsciiRepresentation(); |
+ inline bool IsOneByteRepresentation(); |
inline bool IsTwoByteRepresentation(); |
// Cons and slices have an encoding flag that may not represent the actual |
// encoding of the underlying string. This is taken into account here. |
// Requires: this->IsFlat() |
- inline bool IsAsciiRepresentationUnderneath(); |
+ inline bool IsOneByteRepresentationUnderneath(); |
inline bool IsTwoByteRepresentationUnderneath(); |
// NOTE: this should be considered only a hint. False negatives are |