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

Unified Diff: runtime/vm/object_store.h

Issue 10979058: - Implement first class types in the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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/object_store.h
===================================================================
--- runtime/vm/object_store.h (revision 12980)
+++ runtime/vm/object_store.h (working copy)
@@ -55,6 +55,14 @@
function_type_ = value.raw();
}
+ RawClass* type_class() const { return type_class_; }
+ void set_type_class(const Class& value) { type_class_ = value.raw(); }
+
+ RawClass* type_parameter_class() const { return type_parameter_class_; }
+ void set_type_parameter_class(const Class& value) {
+ type_parameter_class_ = value.raw();
+ }
+
RawType* number_type() const { return number_type_; }
void set_number_type(const Type& value) {
number_type_ = value.raw();
@@ -469,6 +477,8 @@
RawType* dynamic_type_;
RawType* void_type_;
RawType* function_type_;
+ RawClass* type_class_;
+ RawClass* type_parameter_class_;
RawType* number_type_;
RawType* int_type_;
RawClass* integer_implementation_class_;
« runtime/lib/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698