Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 22398) |
| +++ runtime/vm/object.h (working copy) |
| @@ -4422,6 +4422,9 @@ |
| return *CharAddr(str, index); |
| } |
| + static void SetCharAt(const String& str, intptr_t index, uint8_t code_point) { |
| + *CharAddr(str, index) = code_point; |
| + } |
| static RawOneByteString* EscapeSpecialCharacters(const String& str); |
| // We use the same maximum elements for all strings. |