Index: runtime/vm/megamorphic_cache_table.cc |
diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc |
index 7f4bbec580633f3a9a196fc47f5bb4ff5bf419eb..6f2d1723ae891c0c5a83be7bd0468a634c7588b0 100644 |
--- a/runtime/vm/megamorphic_cache_table.cc |
+++ b/runtime/vm/megamorphic_cache_table.cc |
@@ -72,6 +72,7 @@ void MegamorphicCacheTable::InitMissHandler(Isolate* isolate) { |
false, // Not native. |
cls, |
0)); // No token position. |
+ function.set_result_type(Type::Handle(Type::DynamicType())); |
function.set_is_debuggable(false); |
function.set_is_visible(false); |
function.AttachCode(code); |