Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
index 032272ff4b65e6a911502aa962b28a213be52868..dfcb86fcdbc38e131c2a6a309e2c3e971934c909 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
@@ -993,10 +993,8 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive> |
op.BinaryOperator operator, |
ast.Node argument) { |
List<ir.Primitive> arguments = <ir.Primitive>[visit(argument)]; |
- CallStructure callStructure = |
- normalizeDynamicArguments(CallStructure.ONE_ARG, arguments); |
- return irBuilder.buildSuperMethodInvocation( |
- function, callStructure, arguments); |
+ return irBuilder.buildSuperMethodInvocation(function, |
+ CallStructure.ONE_ARG, arguments); |
} |
@override |
@@ -1318,8 +1316,8 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive> |
CallStructure callStructure, |
_) { |
List<ir.Primitive> arguments = <ir.Primitive>[]; |
- callStructure = |
- translateDynamicArguments(argumentsNode, callStructure, arguments); |
+ callStructure = translateStaticArguments(argumentsNode, method, |
+ callStructure, arguments); |
return irBuilder.buildSuperMethodInvocation( |
method, |
callStructure, |