| Index: pkg/compiler/lib/src/ssa/builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
|
| index fe451e2d6796db789e657fda3c5368cc61d8fa25..f2ac807661c3f5a88f53516ba7ca35637624a88d 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -4305,11 +4305,6 @@ class SsaBuilder extends ResolvedVisitor {
|
| send.arguments,
|
| constructor.implementation));
|
|
|
| - if (constructor.isFactoryConstructor &&
|
| - !expectedType.typeArguments.isEmpty) {
|
| - registry.registerFactoryWithTypeArguments();
|
| - }
|
| -
|
| TypeMask elementType = computeType(constructor);
|
| if (isFixedListConstructorCall) {
|
| if (!inputs[0].isNumber(compiler)) {
|
| @@ -5418,10 +5413,6 @@ class SsaBuilder extends ResolvedVisitor {
|
| functionElement.computeEffectiveTargetType(type);
|
| expectedType = localsHandler.substInContext(expectedType);
|
|
|
| - if (constructor.isFactoryConstructor) {
|
| - registry.registerFactoryWithTypeArguments();
|
| - }
|
| -
|
| ClassElement cls = constructor.enclosingClass;
|
|
|
| if (backend.classNeedsRti(cls)) {
|
|
|