| Index: runtime/vm/flow_graph_compiler_arm.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_arm.cc b/runtime/vm/flow_graph_compiler_arm.cc
|
| index 2b501e93f67a0ccdf5d2658499aa2bede8439181..429631f3bf522699273bf0244cace61141de300c 100644
|
| --- a/runtime/vm/flow_graph_compiler_arm.cc
|
| +++ b/runtime/vm/flow_graph_compiler_arm.cc
|
| @@ -507,7 +507,7 @@ RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest(
|
| __ Bind(&fall_through);
|
| return type_test_cache.raw();
|
| }
|
| - if (type.IsType()) {
|
| + if (type.IsType() || type.IsFunctionType()) {
|
| const Register kInstanceReg = R0;
|
| const Register kTypeArgumentsReg = R1;
|
| __ tst(kInstanceReg, Operand(kSmiTagMask)); // Is instance Smi?
|
|
|