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

Unified Diff: runtime/vm/object_store.h

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.h
===================================================================
--- runtime/vm/object_store.h (revision 1948)
+++ runtime/vm/object_store.h (working copy)
@@ -65,40 +65,40 @@
return OFFSET_OF(ObjectStore, object_class_);
}
- RawParameterizedType* object_type() const { return object_type_; }
- void set_object_type(const ParameterizedType& value) {
+ RawType* object_type() const { return object_type_; }
+ void set_object_type(const Type& value) {
object_type_ = value.raw();
}
- RawParameterizedType* null_type() const { return null_type_; }
- void set_null_type(const ParameterizedType& value) {
+ RawType* null_type() const { return null_type_; }
+ void set_null_type(const Type& value) {
null_type_ = value.raw();
}
- RawParameterizedType* dynamic_type() const { return dynamic_type_; }
- void set_dynamic_type(const ParameterizedType& value) {
+ RawType* dynamic_type() const { return dynamic_type_; }
+ void set_dynamic_type(const Type& value) {
dynamic_type_ = value.raw();
}
- RawParameterizedType* void_type() const { return void_type_; }
- void set_void_type(const ParameterizedType& value) {
+ RawType* void_type() const { return void_type_; }
+ void set_void_type(const Type& value) {
void_type_ = value.raw();
}
- RawParameterizedType* function_interface() const {
+ RawType* function_interface() const {
return function_interface_;
}
- void set_function_interface(const ParameterizedType& value) {
+ void set_function_interface(const Type& value) {
function_interface_ = value.raw();
}
- RawParameterizedType* number_interface() const { return number_interface_; }
- void set_number_interface(const ParameterizedType& value) {
+ RawType* number_interface() const { return number_interface_; }
+ void set_number_interface(const Type& value) {
number_interface_ = value.raw();
}
- RawParameterizedType* int_interface() const { return int_interface_; }
- void set_int_interface(const ParameterizedType& value) {
+ RawType* int_interface() const { return int_interface_; }
+ void set_int_interface(const Type& value) {
int_interface_ = value.raw();
}
@@ -108,8 +108,8 @@
return OFFSET_OF(ObjectStore, smi_class_);
}
- RawParameterizedType* double_interface() const { return double_interface_; }
- void set_double_interface(const ParameterizedType& value) {
+ RawType* double_interface() const { return double_interface_; }
+ void set_double_interface(const Type& value) {
double_interface_ = value.raw();
}
@@ -122,8 +122,8 @@
RawClass* bigint_class() const { return bigint_class_; }
void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); }
- RawParameterizedType* string_interface() const { return string_interface_; }
- void set_string_interface(const ParameterizedType& value) {
+ RawType* string_interface() const { return string_interface_; }
+ void set_string_interface(const Type& value) {
string_interface_ = value.raw();
}
@@ -163,16 +163,16 @@
external_four_byte_string_class_ = value.raw();
}
- RawParameterizedType* bool_interface() const { return bool_interface_; }
- void set_bool_interface(const ParameterizedType& value) {
+ RawType* bool_interface() const { return bool_interface_; }
+ void set_bool_interface(const Type& value) {
bool_interface_ = value.raw();
}
RawClass* bool_class() const { return bool_class_; }
void set_bool_class(const Class& value) { bool_class_ = value.raw(); }
- RawParameterizedType* list_interface() const { return list_interface_; }
- void set_list_interface(const ParameterizedType& value) {
+ RawType* list_interface() const { return list_interface_; }
+ void set_list_interface(const Type& value) {
list_interface_ = value.raw();
}
@@ -284,8 +284,8 @@
RawClass* GetClass(int index);
int GetClassIndex(const RawClass* raw_class);
- RawParameterizedType* GetType(int index);
- int GetTypeIndex(const RawParameterizedType* raw_type);
+ RawType* GetType(int index);
+ int GetTypeIndex(const RawType* raw_type);
static void Init(Isolate* isolate);
@@ -294,28 +294,28 @@
RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); }
RawClass* object_class_;
- RawParameterizedType* object_type_;
- RawParameterizedType* null_type_;
- RawParameterizedType* dynamic_type_;
- RawParameterizedType* void_type_;
- RawParameterizedType* function_interface_;
- RawParameterizedType* number_interface_;
- RawParameterizedType* int_interface_;
+ RawType* object_type_;
+ RawType* null_type_;
+ RawType* dynamic_type_;
+ RawType* void_type_;
+ RawType* function_interface_;
+ RawType* number_interface_;
+ RawType* int_interface_;
RawClass* smi_class_;
RawClass* mint_class_;
RawClass* bigint_class_;
- RawParameterizedType* double_interface_;
+ RawType* double_interface_;
RawClass* double_class_;
- RawParameterizedType* string_interface_;
+ RawType* string_interface_;
RawClass* one_byte_string_class_;
RawClass* two_byte_string_class_;
RawClass* four_byte_string_class_;
RawClass* external_one_byte_string_class_;
RawClass* external_two_byte_string_class_;
RawClass* external_four_byte_string_class_;
- RawParameterizedType* bool_interface_;
+ RawType* bool_interface_;
RawClass* bool_class_;
- RawParameterizedType* list_interface_;
+ RawType* list_interface_;
RawClass* array_class_;
RawClass* immutable_array_class_;
RawClass* byte_buffer_class_;

Powered by Google App Engine
This is Rietveld 408576698