Index: runtime/lib/mirrors.cc |
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
index a7e8ddc733103d1d4483e7d90e6a57e405782603..4a68c8667877c15dfb49755e136314e04e47ec3f 100644 |
--- a/runtime/lib/mirrors.cc |
+++ b/runtime/lib/mirrors.cc |
@@ -874,8 +874,7 @@ DEFINE_NATIVE_ENTRY(Mirrors_instantiateGenericType, 2) { |
Type& instantiated_type = |
Type::Handle(Type::New(clz, type_args_obj, TokenPosition::kNoSource)); |
- instantiated_type ^= ClassFinalizer::FinalizeType( |
- clz, instantiated_type, ClassFinalizer::kCanonicalize); |
+ instantiated_type ^= ClassFinalizer::FinalizeType(clz, instantiated_type); |
if (instantiated_type.IsMalbounded()) { |
const LanguageError& type_error = |
LanguageError::Handle(instantiated_type.error()); |