Index: runtime/vm/flow_graph_compiler_arm.cc |
diff --git a/runtime/vm/flow_graph_compiler_arm.cc b/runtime/vm/flow_graph_compiler_arm.cc |
index a11916db9e64fb4dc09567874900d56c39d8a174..21beeb04b30c2d41481b3875a438957212ea0f46 100644 |
--- a/runtime/vm/flow_graph_compiler_arm.cc |
+++ b/runtime/vm/flow_graph_compiler_arm.cc |
@@ -460,7 +460,7 @@ RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest( |
FieldAddress(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); |