| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| index 9eed786f2c3068cd6b1905f924133cdde5fcf4c6..f0e8c7ff39edf2d1c486e8710674282319fe9aa5 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| @@ -3357,6 +3357,9 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| }
|
| }
|
|
|
| + if (constructor.isFactoryConstructor() && !type.typeArguments.isEmpty) {
|
| + compiler.enqueuer.codegen.registerFactoryWithTypeArguments(elements);
|
| + }
|
| HType elementType = computeType(constructor);
|
| HInstruction newInstance = new HInvokeStatic(inputs, elementType);
|
| pushWithPosition(newInstance, node);
|
|
|