| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 22056)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -4552,10 +4552,7 @@
|
| SetValue(instr, object);
|
| return;
|
| }
|
| - if (instr->type_arguments().IsUninstantiatedIdentity() &&
|
| - !object.IsNull() &&
|
| - object.IsTypeArguments() &&
|
| - (TypeArguments::Cast(object).Length() == len)) {
|
| + if (instr->type_arguments().IsUninstantiatedIdentity()) {
|
| SetValue(instr, object);
|
| return;
|
| }
|
|
|