Chromium Code Reviews| Index: pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
| diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
| index 2ca8fdf0c624e8dde3495dda29bd4629fd0d2948..0821a21e548f906b4285e5c8b290dc6a8fe11a75 100644 |
| --- a/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
| +++ b/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
| @@ -9,6 +9,7 @@ import '../constants/values.dart' as values; |
| import '../dart_types.dart' show DartType, InterfaceType, TypeVariableType; |
| import '../elements/elements.dart'; |
| import '../io/source_information.dart' show SourceInformation; |
| +import '../types/types.dart' show TypeMask; |
| import '../universe/universe.dart' show Selector; |
| // The Tree language is the target of translation out of the CPS-based IR. |
| @@ -157,7 +158,7 @@ class Assign extends Expression { |
| */ |
| abstract class Invoke { |
| List<Expression> get arguments; |
| - Selector get selector; |
| + //Selector get selector; |
|
karlklose
2015/06/17 12:43:11
Remove field.
Johnni Winther
2015/06/17 13:03:52
Done.
|
| } |
| /** |
| @@ -197,12 +198,13 @@ class InvokeStatic extends Expression implements Invoke { |
| class InvokeMethod extends Expression implements Invoke { |
| Expression receiver; |
| final Selector selector; |
| + final TypeMask mask; |
| final List<Expression> arguments; |
| /// If true, it is known that the receiver cannot be `null`. |
| bool receiverIsNotNull = false; |
| - InvokeMethod(this.receiver, this.selector, this.arguments) { |
| + InvokeMethod(this.receiver, this.selector, this.mask, this.arguments) { |
| assert(receiver != null); |
| } |