| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 23665)
|
| +++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy)
|
| @@ -1141,6 +1141,12 @@
|
| List<HInstruction> compiledArguments;
|
| bool isInstanceMember = function.isInstanceMember();
|
|
|
| + if (function.isGenerativeConstructor()) {
|
| + // The optimistic field type optimization requires
|
| + // to know all generative constructors seen in codegen.
|
| + backend.registerConstructor(function);
|
| + }
|
| +
|
| if (currentNode == null
|
| || currentNode.asForIn() != null
|
| || !isInstanceMember
|
|
|