Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Unified Diff: runtime/vm/object.h

Issue 12568007: Translate raw strings to regular strings during source code generation. This should hopefully avoid… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 20219)
+++ runtime/vm/object.h (working copy)
@@ -4263,7 +4263,7 @@
intptr_t src_offset,
intptr_t len);
- static RawString* EscapeSpecialCharacters(const String& str, bool raw_str);
+ static RawString* EscapeSpecialCharacters(const String& str);
static RawString* Concat(const String& str1,
const String& str2,
@@ -4338,8 +4338,7 @@
return *CharAddr(str, index);
}
- static RawOneByteString* EscapeSpecialCharacters(const String& str,
- bool raw_str);
+ static RawOneByteString* EscapeSpecialCharacters(const String& str);
// We use the same maximum elements for all strings.
static const intptr_t kBytesPerElement = 1;
@@ -4441,8 +4440,7 @@
return *CharAddr(str, index);
}
- static RawTwoByteString* EscapeSpecialCharacters(const String& str,
- bool raw_str);
+ static RawTwoByteString* EscapeSpecialCharacters(const String& str);
// We use the same maximum elements for all strings.
static const intptr_t kBytesPerElement = 2;
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698