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 53429c8bda2bc2b539b327a3997b8030ee407e35..98721e2bf40a6f4f4b02c5f66a311cb3f39165df 100644 |
--- a/runtime/vm/flow_graph_compiler_arm64.cc |
+++ b/runtime/vm/flow_graph_compiler_arm64.cc |
@@ -452,7 +452,7 @@ RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest( |
R2, R1, TypeArguments::type_at_offset(type_param.index())); |
// R2: concrete type of type. |
// Check if type argument is dynamic. |
- __ CompareObject(R2, Type::ZoneHandle(zone(), Type::DynamicType())); |
+ __ CompareObject(R2, Object::dynamic_type()); |
__ b(is_instance_lbl, EQ); |
__ CompareObject(R2, Type::ZoneHandle(zone(), Type::ObjectType())); |
__ b(is_instance_lbl, EQ); |