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 fea44cc8932406b3e17885c5917364d019c82192..8d5bff1c73076c046dcbd25212e384d97889acc3 100644 |
--- a/runtime/vm/flow_graph_compiler_x64.cc |
+++ b/runtime/vm/flow_graph_compiler_x64.cc |
@@ -264,7 +264,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; |
} |