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

Unified Diff: runtime/vm/snapshot.cc

Issue 11031063: Fix bug 5575: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/object_store.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
===================================================================
--- runtime/vm/snapshot.cc (revision 13271)
+++ runtime/vm/snapshot.cc (working copy)
@@ -36,7 +36,7 @@
static bool IsObjectStoreTypeId(intptr_t index) {
// Check if this is a type which is stored in the object store.
- return (index >= kObjectType && index <= kByteArrayInterface);
+ return (index >= kObjectType && index <= kListInterface);
}
@@ -68,7 +68,6 @@
case kBoolType: return object_store->bool_type();
case kStringInterface: return object_store->string_interface();
case kListInterface: return object_store->list_interface();
- case kByteArrayInterface: return object_store->byte_array_interface();
default: break;
}
UNREACHABLE();
@@ -104,8 +103,6 @@
return kStringInterface;
} else if (raw_type == object_store->list_interface()) {
return kListInterface;
- } else if (raw_type == object_store->byte_array_interface()) {
- return kByteArrayInterface;
}
return kInvalidIndex;
}
« no previous file with comments | « runtime/vm/object_store.cc ('k') | runtime/vm/snapshot_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698