| 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 ce4ed20839d483ba3b3240c78432c939ac6b2763..08754637f4c187a307689a56a18f6276804c1566 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
| @@ -634,7 +634,7 @@ class InvokeMethodDirectly extends InvocationPrimitive {
|
| final List<Reference<Primitive>> arguments;
|
| final SourceInformation sourceInformation;
|
|
|
| - CallingConvention callingConvention = CallingConvention.Normal;
|
| + CallingConvention callingConvention;
|
|
|
| Reference<Primitive> get dartReceiverReference {
|
| return callingConvention == CallingConvention.Intercepted
|
| @@ -656,7 +656,8 @@ class InvokeMethodDirectly extends InvocationPrimitive {
|
| this.target,
|
| this.selector,
|
| List<Primitive> arguments,
|
| - this.sourceInformation)
|
| + this.sourceInformation,
|
| + {this.callingConvention: CallingConvention.Normal})
|
| : this.receiver = new Reference<Primitive>(receiver),
|
| this.arguments = _referenceList(arguments);
|
|
|
| @@ -2537,7 +2538,8 @@ class DefinitionCopyingVisitor extends Visitor<Definition> {
|
| return new InvokeMethodDirectly(getCopy(node.receiver), node.target,
|
| node.selector,
|
| getList(node.arguments),
|
| - node.sourceInformation);
|
| + node.sourceInformation,
|
| + callingConvention: node.callingConvention);
|
| }
|
|
|
| Definition visitInvokeConstructor(InvokeConstructor node) {
|
|
|