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

Unified Diff: runtime/vm/object_store.cc

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_store.h ('k') | runtime/vm/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.cc
diff --git a/runtime/vm/object_store.cc b/runtime/vm/object_store.cc
index 5528afd0487c9a0963997af94b07d0e7b80f73bf..f3be42b4e0ed46a427e567dc9c3b1fe95c6cb793 100644
--- a/runtime/vm/object_store.cc
+++ b/runtime/vm/object_store.cc
@@ -31,6 +31,7 @@ ObjectStore::ObjectStore()
bigint_class_(Class::null()),
double_class_(Class::null()),
double_type_(Type::null()),
+ fraction_class_(Class::null()),
float32x4_type_(Type::null()),
int32x4_type_(Type::null()),
float64x2_type_(Type::null()),
@@ -55,6 +56,7 @@ ObjectStore::ObjectStore()
float64x2_class_(Class::null()),
error_class_(Class::null()),
weak_property_class_(Class::null()),
+ byte_buffer_class_(Class::null()),
symbol_table_(Array::null()),
canonical_types_(Array::null()),
canonical_type_arguments_(Array::null()),
@@ -164,6 +166,7 @@ RawError* ObjectStore::PreallocateObjects() {
result = DartLibraryCalls::InstanceCreate(library,
Symbols::StackOverflowError(),
Symbols::Dot(),
+ false, // Not a factory.
Object::empty_array());
if (result.IsError()) {
return Error::Cast(result).raw();
@@ -173,6 +176,7 @@ RawError* ObjectStore::PreallocateObjects() {
result = DartLibraryCalls::InstanceCreate(library,
Symbols::OutOfMemoryError(),
Symbols::Dot(),
+ false, // Not a factory.
Object::empty_array());
if (result.IsError()) {
return Error::Cast(result).raw();
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698