Index: runtime/vm/megamorphic_cache_table.cc |
diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc |
index 6c4ccf10f948322e9636acd795d6b2187f9c8181..b793d35de7237bcd17e9bff2d0e2deedad505dab 100644 |
--- a/runtime/vm/megamorphic_cache_table.cc |
+++ b/runtime/vm/megamorphic_cache_table.cc |
@@ -61,7 +61,7 @@ void MegamorphicCacheTable::InitMissHandler(Isolate* isolate) { |
// it is considered in the search for an exception handler. |
code.set_exception_handlers(Object::empty_exception_handlers()); |
const Class& cls = |
- Class::Handle(Type::Handle(Type::Function()).type_class()); |
+ Class::Handle(Type::Handle(Type::DartFunctionType()).type_class()); |
const Function& function = |
Function::Handle(Function::New(Symbols::MegamorphicMiss(), |
RawFunction::kRegularFunction, |