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

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: Merged to tip of bleeding_edge. Updated test expecteation Created 8 years, 1 month 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 | « runtime/vm/parser.cc ('k') | runtime/vm/snapshot_ids.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index e966889e75ae6de77a7895c23de256bf75d4a54f..87f5bc6f76d3bf6f6be93258ec4758a05ab438d2 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -67,7 +67,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;
}
@@ -100,8 +100,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;
}
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/snapshot_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698