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

Unified Diff: runtime/vm/snapshot.cc

Issue 10933039: Make int an abstract class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Now with correct base. Created 8 years, 3 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 3c84ac525fe6d8822d35dfa15b435afd5e4767a0..7915be5cf0149704467651cf2663c86770fcbd04 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -64,7 +64,7 @@ static RawType* GetType(ObjectStore* object_store, int index) {
case kSmiType: return object_store->smi_type();
case kMintType: return object_store->mint_type();
case kDoubleType: return object_store->double_type();
- case kIntInterface: return object_store->int_interface();
+ case kIntType: return object_store->int_type();
case kBoolType: return object_store->bool_type();
case kStringInterface: return object_store->string_interface();
case kListInterface: return object_store->list_interface();
@@ -96,8 +96,8 @@ static int GetTypeIndex(ObjectStore* object_store, const RawType* raw_type) {
return kMintType;
} else if (raw_type == object_store->double_type()) {
return kDoubleType;
- } else if (raw_type == object_store->int_interface()) {
- return kIntInterface;
+ } else if (raw_type == object_store->int_type()) {
+ return kIntType;
} else if (raw_type == object_store->bool_type()) {
return kBoolType;
} else if (raw_type == object_store->string_interface()) {

Powered by Google App Engine
This is Rietveld 408576698