Index: runtime/vm/flow_graph_compiler_arm64.cc |
diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc |
index be64c897258bd854f92e884aa2d3e45fa919de8d..6750d70e206d4c675088582b7da71b730551d002 100644 |
--- a/runtime/vm/flow_graph_compiler_arm64.cc |
+++ b/runtime/vm/flow_graph_compiler_arm64.cc |
@@ -508,7 +508,7 @@ RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest( |
__ Bind(&fall_through); |
return type_test_cache.raw(); |
} |
- if (type.IsType() || type.IsFunctionType()) { |
+ if (type.IsType()) { |
const Register kInstanceReg = R0; |
const Register kTypeArgumentsReg = R1; |
__ tsti(kInstanceReg, Immediate(kSmiTagMask)); // Is instance Smi? |