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

Unified Diff: runtime/vm/object.h

Issue 8346014: Use the narrowest character width possible for substrings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improved changelog message. Created 9 years, 2 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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 2c235afe6ac56b7269fdbb38a76a7712690428d9..7f6c3b2a18f64340402defe94bc8d8c06a7e7bbf 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2431,10 +2431,10 @@ class OneByteString : public String {
intptr_t len,
Heap::Space space);
- static RawOneByteString* SubString(const OneByteString& str,
- intptr_t begin_index,
- intptr_t length,
- Heap::Space space);
+ static RawString* SubString(const OneByteString& str,
+ intptr_t begin_index,
+ intptr_t length,
+ Heap::Space space);
private:
uint8_t* CharAddr(intptr_t index) const {
@@ -2482,10 +2482,10 @@ class TwoByteString : public String {
intptr_t len,
Heap::Space space);
- static RawTwoByteString* SubString(const TwoByteString& str,
- intptr_t begin_index,
- intptr_t length,
- Heap::Space space);
+ static RawString* SubString(const TwoByteString& str,
+ intptr_t begin_index,
+ intptr_t length,
+ Heap::Space space);
private:
uint16_t* CharAddr(intptr_t index) const {
@@ -2529,10 +2529,10 @@ class FourByteString : public String {
intptr_t len,
Heap::Space space);
- static RawFourByteString* SubString(const FourByteString& str,
- intptr_t begin_index,
- intptr_t length,
- Heap::Space space);
+ static RawString* SubString(const FourByteString& str,
+ intptr_t begin_index,
+ intptr_t length,
+ Heap::Space space);
private:
uint32_t* CharAddr(intptr_t index) const {
« 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