| 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 fbe0cb49138da90f4ba503b378d9f34a40ba8a3e..dd98a740545105fcb2f9697a0f31976009973a8b 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
|
| @@ -996,10 +996,7 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
|
| ir.Primitive visitUnary(ast.Send node,
|
| op.UnaryOperator operator, ast.Node expression, _) {
|
| // TODO(johnniwinther): Clean up the creation of selectors.
|
| - Selector selector = new Selector(
|
| - SelectorKind.OPERATOR,
|
| - new PublicName(operator.selectorName),
|
| - CallStructure.NO_ARGS);
|
| + Selector selector = operator.selector;
|
| ir.Primitive receiver = translateReceiver(expression);
|
| return irBuilder.buildDynamicInvocation(receiver, selector, const []);
|
| }
|
|
|