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

Unified Diff: runtime/vm/object_store.cc

Issue 8761011: Renaming type classes as discussed: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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
Index: runtime/vm/object_store.cc
===================================================================
--- runtime/vm/object_store.cc (revision 1948)
+++ runtime/vm/object_store.cc (working copy)
@@ -13,24 +13,24 @@
ObjectStore::ObjectStore()
: object_class_(Class::null()),
- function_interface_(ParameterizedType::null()),
- number_interface_(ParameterizedType::null()),
- int_interface_(ParameterizedType::null()),
+ function_interface_(Type::null()),
+ number_interface_(Type::null()),
+ int_interface_(Type::null()),
smi_class_(Class::null()),
mint_class_(Class::null()),
bigint_class_(Class::null()),
- double_interface_(ParameterizedType::null()),
+ double_interface_(Type::null()),
double_class_(Class::null()),
- string_interface_(ParameterizedType::null()),
+ string_interface_(Type::null()),
one_byte_string_class_(Class::null()),
two_byte_string_class_(Class::null()),
four_byte_string_class_(Class::null()),
external_one_byte_string_class_(Class::null()),
external_two_byte_string_class_(Class::null()),
external_four_byte_string_class_(Class::null()),
- bool_interface_(ParameterizedType::null()),
+ bool_interface_(Type::null()),
bool_class_(Class::null()),
- list_interface_(ParameterizedType::null()),
+ list_interface_(Type::null()),
array_class_(Class::null()),
immutable_array_class_(Class::null()),
byte_buffer_class_(Class::null()),
@@ -139,7 +139,7 @@
}
-RawParameterizedType* ObjectStore::GetType(int index) {
+RawType* ObjectStore::GetType(int index) {
switch (index) {
case kObjectType: return object_type();
case kNullType: return null_type();
@@ -155,11 +155,11 @@
default: break;
}
UNREACHABLE();
- return ParameterizedType::null();
+ return Type::null();
}
-int ObjectStore::GetTypeIndex(const RawParameterizedType* raw_type) {
+int ObjectStore::GetTypeIndex(const RawType* raw_type) {
ASSERT(raw_type->IsHeapObject());
if (raw_type == object_type()) {
return kObjectType;

Powered by Google App Engine
This is Rietveld 408576698