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 7319fe963b1dd45c439096c21bcebaeb230abbeb..91099dec4e4082940a7cae6b86a2321163197573 100644 |
--- a/runtime/vm/flow_graph_compiler_x64.cc |
+++ b/runtime/vm/flow_graph_compiler_x64.cc |
@@ -268,7 +268,7 @@ bool FlowGraphCompiler::GenerateInstantiatedTypeNoArgumentsTest( |
kClassIdReg, type, is_instance_lbl, is_not_instance_lbl); |
return false; |
} |
- if (type.IsStringInterface()) { |
+ if (type.IsStringType()) { |
GenerateStringTypeCheck(kClassIdReg, is_instance_lbl, is_not_instance_lbl); |
return false; |
} |