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

Unified Diff: runtime/vm/object_store.h

Issue 10823324: Added Smi, Mint and Double types to object store. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
« runtime/vm/intermediate_language.cc ('K') | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
===================================================================
--- runtime/vm/object_store.h (revision 10679)
+++ runtime/vm/object_store.h (working copy)
@@ -80,6 +80,11 @@
return OFFSET_OF(ObjectStore, smi_class_);
}
+ RawType* smi_type() const { return smi_type_; }
+ void set_smi_type(const Type& value) {
+ smi_type_ = value.raw();
+ }
+
RawType* double_interface() const { return double_interface_; }
void set_double_interface(const Type& value) {
double_interface_ = value.raw();
@@ -88,9 +93,19 @@
RawClass* double_class() const { return double_class_; }
void set_double_class(const Class& value) { double_class_ = value.raw(); }
+ RawType* double_type() const { return double_type_; }
+ void set_double_type(const Type& value) {
+ double_type_ = value.raw();
regis 2012/08/14 21:56:33 one line?
srdjan 2012/08/14 22:52:08 Done.
+ }
+
RawClass* mint_class() const { return mint_class_; }
void set_mint_class(const Class& value) { mint_class_ = value.raw(); }
+ RawType* mint_type() const { return mint_type_; }
+ void set_mint_type(const Type& value) {
regis 2012/08/14 21:56:33 one line?
srdjan 2012/08/14 22:52:08 Done.
+ mint_type_ = value.raw();
+ }
+
RawClass* bigint_class() const { return bigint_class_; }
void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); }
@@ -466,10 +481,13 @@
RawType* int_interface_;
RawClass* integer_implementation_class_;
RawClass* smi_class_;
+ RawType* smi_type_;
RawClass* mint_class_;
+ RawType* mint_type_;
RawClass* bigint_class_;
RawType* double_interface_;
RawClass* double_class_;
+ RawType* double_type_;
RawType* string_interface_;
RawClass* one_byte_string_class_;
RawClass* two_byte_string_class_;
« runtime/vm/intermediate_language.cc ('K') | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698