| Index: pkg/compiler/lib/src/ssa/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
|
| index 1af507b12dca898ff8eb1562b81f9fd4fad29156..6431bbba1bd45d396e7e0084bfcf45e08950e5d9 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -1889,13 +1889,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
|
|
| visitInvokeStatic(HInvokeStatic node) {
|
| MemberEntity element = node.element;
|
| - List<DartType> instantiatedTypes = node.instantiatedTypes;
|
| -
|
| - if (instantiatedTypes != null && !instantiatedTypes.isEmpty) {
|
| - instantiatedTypes.forEach((type) {
|
| - _registry.registerInstantiation(type);
|
| - });
|
| - }
|
| + node.instantiatedTypes?.forEach(_registry.registerInstantiation);
|
|
|
| List<js.Expression> arguments = visitArguments(node.inputs, start: 0);
|
|
|
|
|