| Index: runtime/vm/object_store.cc
|
| diff --git a/runtime/vm/object_store.cc b/runtime/vm/object_store.cc
|
| index e0bf805809b29ac8f6d8ef9533bf79694eb76301..8812a8ee50c3e8336d36ea31ca334bd9e0a644e7 100644
|
| --- a/runtime/vm/object_store.cc
|
| +++ b/runtime/vm/object_store.cc
|
| @@ -35,6 +35,7 @@ ObjectStore::ObjectStore()
|
| int32x4_type_(Type::null()),
|
| float64x2_type_(Type::null()),
|
| string_type_(Type::null()),
|
| + compiletime_error_class_(Class::null()),
|
| future_class_(Class::null()),
|
| completer_class_(Class::null()),
|
| stream_iterator_class_(Class::null()),
|
| @@ -243,6 +244,11 @@ void ObjectStore::InitKnownObjects() {
|
| cls = internal_lib.LookupClass(Symbols::Symbol());
|
| set_symbol_class(cls);
|
|
|
| + const Library& core_lib = Library::Handle(core_library());
|
| + cls = core_lib.LookupClassAllowPrivate(Symbols::_CompileTimeError());
|
| + ASSERT(!cls.IsNull());
|
| + set_compiletime_error_class(cls);
|
| +
|
| // Cache the core private functions used for fast instance of checks.
|
| simple_instance_of_function_ =
|
| PrivateObjectLookup(Symbols::_simpleInstanceOf());
|
|
|