| Index: runtime/vm/bootstrap.cc
|
| ===================================================================
|
| --- runtime/vm/bootstrap.cc (revision 40638)
|
| +++ runtime/vm/bootstrap.cc (working copy)
|
| @@ -315,17 +315,17 @@
|
| if (error.IsNull()) {
|
| SetupNativeResolver();
|
| ClassFinalizer::ProcessPendingClasses();
|
| +
|
| + Class& cls = Class::Handle(isolate);
|
| + // Eagerly compile the function implementation class as it is the super
|
| + // class of signature classes. This allows us to just finalize signature
|
| + // classes without going through the hoops of trying to compile them.
|
| + const Type& type =
|
| + Type::Handle(isolate, isolate->object_store()->function_impl_type());
|
| + cls = type.type_class();
|
| + Compiler::CompileClass(cls);
|
| }
|
|
|
| - Class& cls = Class::Handle(isolate);
|
| - // Eagerly compile the function implementation class as it is the super
|
| - // class of signature classes. This allows us to just finalize signature
|
| - // classes without going through the hoops of trying to compile them.
|
| - const Type& type =
|
| - Type::Handle(isolate, isolate->object_store()->function_impl_type());
|
| - cls = type.type_class();
|
| - Compiler::CompileClass(cls);
|
| -
|
| // Restore the library tag handler for the isolate.
|
| isolate->set_library_tag_handler(saved_tag_handler);
|
|
|
|
|