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

Unified Diff: runtime/vm/snapshot.cc

Issue 11085003: Convert String to a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove left-over List change in comment. Created 8 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
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index 5f6f4b7991445e428f96a7b6e88be0a1b2223d75..7a99d4bd5fb22c219977869b1480e8c03f94b75e 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -66,7 +66,7 @@ static RawType* GetType(ObjectStore* object_store, int index) {
case kDoubleType: return object_store->double_type();
case kIntType: return object_store->int_type();
case kBoolType: return object_store->bool_type();
- case kStringInterface: return object_store->string_interface();
+ case kStringType: return object_store->string_type();
case kListInterface: return object_store->list_interface();
default: break;
}
@@ -99,8 +99,8 @@ static int GetTypeIndex(ObjectStore* object_store, const RawType* raw_type) {
return kIntType;
} else if (raw_type == object_store->bool_type()) {
return kBoolType;
- } else if (raw_type == object_store->string_interface()) {
- return kStringInterface;
+ } else if (raw_type == object_store->string_type()) {
+ return kStringType;
} else if (raw_type == object_store->list_interface()) {
return kListInterface;
}

Powered by Google App Engine
This is Rietveld 408576698