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 0dff83395bea3f7e32a5c9b74d5c000d8d56daf6..abdfcd408435d93c332cb9b986c1273900fcd4d1 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; |