Index: runtime/vm/constant_propagator.cc |
diff --git a/runtime/vm/constant_propagator.cc b/runtime/vm/constant_propagator.cc |
index 5e4f53c47306a1baeae2e36b90ea9a033ccef9f5..1b70c96a0544849dcc4a3248332dcb38ae842daf 100644 |
--- a/runtime/vm/constant_propagator.cc |
+++ b/runtime/vm/constant_propagator.cc |
@@ -867,7 +867,7 @@ void ConstantPropagator::VisitInstantiateType(InstantiateTypeInstr* instr) { |
if (IsConstant(object)) { |
if (instr->type().IsTypeParameter()) { |
if (object.IsNull()) { |
- SetValue(instr, Type::ZoneHandle(Z, Type::DynamicType())); |
+ SetValue(instr, Object::dynamic_type()); |
return; |
} |
// We could try to instantiate the type parameter and return it if no |