| Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| index 8c3fe05c78889b027aa9de3237c66f0bc6622bff..dd086c9b31cfbb15e22438ccb91fcdeb1978b146 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| @@ -1796,8 +1796,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| List<js.Expression> arguments = visitArguments(node.inputs, start: 0);
|
| // TODO(floitsch): jsClassReference is an Access. We shouldn't treat it
|
| // as if it was a string.
|
| - js.Expression constructor = new js.VariableUse(jsClassReference);
|
| - push(new js.New(constructor, arguments), node);
|
| + push(new js.New(new js.VariableUse(jsClassReference), arguments), node);
|
| registerForeignTypes(node);
|
| if (node.instantiatedTypes == null) {
|
| return;
|
|
|