Index: runtime/vm/snapshot.cc |
=================================================================== |
--- runtime/vm/snapshot.cc (revision 14985) |
+++ runtime/vm/snapshot.cc (working copy) |
@@ -38,7 +38,7 @@ |
static bool IsObjectStoreTypeId(intptr_t index) { |
// Check if this is a type which is stored in the object store. |
- return (index >= kObjectType && index <= kListInterface); |
+ return (index >= kObjectType && index <= kArrayType); |
} |
@@ -69,7 +69,7 @@ |
case kIntType: return object_store->int_type(); |
case kBoolType: return object_store->bool_type(); |
case kStringType: return object_store->string_type(); |
- case kListInterface: return object_store->list_interface(); |
+ case kArrayType: return object_store->array_type(); |
default: break; |
} |
UNREACHABLE(); |
@@ -103,8 +103,8 @@ |
return kBoolType; |
} else if (raw_type == object_store->string_type()) { |
return kStringType; |
- } else if (raw_type == object_store->list_interface()) { |
- return kListInterface; |
+ } else if (raw_type == object_store->array_type()) { |
+ return kArrayType; |
} |
return kInvalidIndex; |
} |