Index: runtime/vm/flow_graph_compiler_x64.cc |
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc |
index c66127119231b2416a47ae6e8ff2cad98273d00e..7c5d7de76e6e5dba6ae2fb730175aa57f842df8c 100644 |
--- a/runtime/vm/flow_graph_compiler_x64.cc |
+++ b/runtime/vm/flow_graph_compiler_x64.cc |
@@ -515,7 +515,7 @@ RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest( |
__ Bind(&fall_through); |
return type_test_cache.raw(); |
} |
- if (type.IsType() || type.IsFunctionType()) { |
+ if (type.IsType()) { |
const Register kInstanceReg = RAX; |
const Register kTypeArgumentsReg = RDX; |
__ testq(kInstanceReg, Immediate(kSmiTagMask)); // Is instance Smi? |