Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index aeb798833557a3b06b90ade0ce623bd83e8a7ac1..c3b61f514232fae20d8b3673460b5d865f915a88 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -601,6 +601,17 @@ void Object::InitOnce(Isolate* isolate) { |
isolate->object_store()->set_one_byte_string_class(cls); |
cls = Class::NewStringClass(kTwoByteStringCid); |
isolate->object_store()->set_two_byte_string_class(cls); |
+ cls = Class::New<Mint>(); |
+ isolate->object_store()->set_mint_class(cls); |
+ cls = Class::New<Bigint>(); |
+ isolate->object_store()->set_bigint_class(cls); |
+ cls = Class::New<Double>(); |
+ isolate->object_store()->set_double_class(cls); |
+ |
+ // Ensure that class kExternalTypedDataUint8ArrayCid is registered as we |
+ // need it when reading in the token stream of bootstrap classes in the VM |
+ // isolate. |
+ Class::NewExternalTypedDataClass(kExternalTypedDataUint8ArrayCid); |
// Allocate and initialize the empty_array instance. |
{ |