| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 943784436691a635ecf3bf9e6272b7ea58642674..819739a98aee5c258b1cadbb6a432207bc5ff7e8 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2956,6 +2956,10 @@ class String: public HeapObject {
|
| // Is this string an ascii string.
|
| inline bool IsAsciiRepresentation();
|
|
|
| + // Specialization of this function from Object that skips the
|
| + // string check.
|
| + inline bool IsSeqAsciiString();
|
| +
|
| // Fast testing routines that assume the receiver is a string and
|
| // just check whether it is a certain kind of string.
|
| inline bool StringIsSlicedString();
|
| @@ -3183,6 +3187,8 @@ class SeqAsciiString: public SeqString {
|
| // Get the address of the characters in this string.
|
| inline Address GetCharsAddress();
|
|
|
| + inline const char* GetChars();
|
| +
|
| // Casting
|
| static inline SeqAsciiString* cast(Object* obj);
|
|
|
|
|