| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 22154)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -4587,7 +4587,9 @@
|
| SetValue(instr, object);
|
| return;
|
| }
|
| - if (instr->type_arguments().IsUninstantiatedIdentity()) {
|
| + if (instr->type_arguments().IsUninstantiatedIdentity() ||
|
| + instr->type_arguments().CanShareInstantiatorTypeArguments(
|
| + instr->instantiator_class())) {
|
| SetValue(instr, object);
|
| return;
|
| }
|
|
|