| Index: runtime/vm/flow_graph_compiler_mips.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc
|
| index 2f19c8a3c5c511d8126ccd7f482a1367e01e8df6..a6fef0b0ef74535f7c3f288f4986a854e48fb47a 100644
|
| --- a/runtime/vm/flow_graph_compiler_mips.cc
|
| +++ b/runtime/vm/flow_graph_compiler_mips.cc
|
| @@ -495,7 +495,7 @@ RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest(
|
| __ Bind(&fall_through);
|
| return type_test_cache.raw();
|
| }
|
| - if (type.IsType()) {
|
| + if (type.IsType() || type.IsFunctionType()) {
|
| const Register kInstanceReg = A0;
|
| const Register kTypeArgumentsReg = A1;
|
| __ andi(CMPRES1, kInstanceReg, Immediate(kSmiTagMask));
|
|
|