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

Unified Diff: runtime/vm/object_store.h

Issue 2005723004: Fraction class prototype and test (not to be committed). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: work in progress Created 4 years, 5 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
« no previous file with comments | « runtime/vm/object_service.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 54b7044b1a5036b9a534fa22b5157f600742249a..b94677cedf023e664ceecdc89639036ce93a8c2a 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -111,6 +111,9 @@ class ObjectStore {
RawClass* bigint_class() const { return bigint_class_; }
void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); }
+ RawClass* fraction_class() const { return fraction_class_; }
+ void set_fraction_class(const Class& value) { fraction_class_ = value.raw(); }
+
RawType* string_type() const { return string_type_; }
void set_string_type(const Type& value) {
string_type_ = value.raw();
@@ -244,6 +247,11 @@ class ObjectStore {
weak_property_class_ = value.raw();
}
+ RawClass* byte_buffer_class() const { return byte_buffer_class_; }
+ void set_byte_buffer_class(const Class& value) {
+ byte_buffer_class_ = value.raw();
+ }
+
RawArray* symbol_table() const { return symbol_table_; }
void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); }
@@ -513,6 +521,7 @@ class ObjectStore {
V(RawClass*, bigint_class_) \
V(RawClass*, double_class_) \
V(RawType*, double_type_) \
+ V(RawClass*, fraction_class_) \
V(RawType*, float32x4_type_) \
V(RawType*, int32x4_type_) \
V(RawType*, float64x2_type_) \
@@ -537,6 +546,7 @@ class ObjectStore {
V(RawClass*, float64x2_class_) \
V(RawClass*, error_class_) \
V(RawClass*, weak_property_class_) \
+ V(RawClass*, byte_buffer_class_) \
V(RawArray*, symbol_table_) \
V(RawArray*, canonical_types_) \
V(RawArray*, canonical_type_arguments_) \
« no previous file with comments | « runtime/vm/object_service.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698