| Index: runtime/vm/code_generator_x64.cc
|
| ===================================================================
|
| --- runtime/vm/code_generator_x64.cc (revision 3699)
|
| +++ runtime/vm/code_generator_x64.cc (working copy)
|
| @@ -2298,8 +2298,7 @@
|
| // The type arguments are compile time constants.
|
| AbstractTypeArguments& type_arguments = AbstractTypeArguments::ZoneHandle();
|
| // TODO(regis): Temporary type should be allocated in new gen heap.
|
| - Type& type = Type::Handle(
|
| - Type::NewParameterizedType(instantiator_class, type_arguments));
|
| + Type& type = Type::Handle(Type::New(instantiator_class, type_arguments));
|
| Error& error = Error::Handle();
|
| type ^= ClassFinalizer::FinalizeAndCanonicalizeType(instantiator_class,
|
| type,
|
|
|