| Index: vm/object.h
|
| ===================================================================
|
| --- vm/object.h (revision 11999)
|
| +++ vm/object.h (working copy)
|
| @@ -3516,7 +3516,7 @@
|
| intptr_t src_offset,
|
| intptr_t len);
|
|
|
| - static RawString* EscapeDoubleQuotes(const String& str);
|
| + static RawString* EscapeSpecialCharacters(const String& str, bool raw_str);
|
|
|
| static RawString* Concat(const String& str1,
|
| const String& str2,
|
| @@ -3585,7 +3585,7 @@
|
| return kOneByteChar;
|
| }
|
|
|
| - RawOneByteString* EscapeDoubleQuotes() const;
|
| + RawOneByteString* EscapeSpecialCharacters(bool raw_str) const;
|
|
|
| bool EqualsIgnoringPrivateKey(const OneByteString& str) const;
|
|
|
| @@ -3661,7 +3661,7 @@
|
| return kTwoByteChar;
|
| }
|
|
|
| - RawTwoByteString* EscapeDoubleQuotes() const;
|
| + RawTwoByteString* EscapeSpecialCharacters(bool raw_str) const;
|
|
|
| // We use the same maximum elements for all strings.
|
| static const intptr_t kBytesPerElement = 2;
|
| @@ -3723,7 +3723,7 @@
|
| return kFourByteChar;
|
| }
|
|
|
| - RawFourByteString* EscapeDoubleQuotes() const;
|
| + RawFourByteString* EscapeSpecialCharacters(bool raw_str) const;
|
|
|
| static const intptr_t kBytesPerElement = 4;
|
| static const intptr_t kMaxElements = String::kMaxElements;
|
|
|