| Index: pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
| index e34a4a482a30b809c332d1227216d1c7c7ebad25..540ccc6ea7f427d0b54c4bb7b7172ee80c12fc7d 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
| @@ -589,16 +589,11 @@ class InvokeMethod extends InvocationPrimitive {
|
| this.selector,
|
| this.mask,
|
| List<Primitive> arguments,
|
| - [this.sourceInformation])
|
| + {this.sourceInformation,
|
| + this.callingConvention: CallingConvention.Normal})
|
| : this.receiver = new Reference<Primitive>(receiver),
|
| this.arguments = _referenceList(arguments);
|
|
|
| - InvokeMethod.byReference(this.receiver,
|
| - this.selector,
|
| - this.mask,
|
| - this.arguments,
|
| - this.sourceInformation);
|
| -
|
| accept(Visitor visitor) => visitor.visitInvokeMethod(this);
|
|
|
| bool get hasValue => true;
|
| @@ -2483,7 +2478,8 @@ class DefinitionCopyingVisitor extends Visitor<Definition> {
|
| Definition visitInvokeMethod(InvokeMethod node) {
|
| return new InvokeMethod(getCopy(node.receiver), node.selector, node.mask,
|
| getList(node.arguments),
|
| - node.sourceInformation);
|
| + sourceInformation: node.sourceInformation,
|
| + callingConvention: node.callingConvention);
|
| }
|
|
|
| Definition visitInvokeMethodDirectly(InvokeMethodDirectly node) {
|
|
|