Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart

Issue 1182913003: Split TypedSelector into Selector and TypeMask. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 164663372e22cb8250b1c25be82a45353fa5b459..f29614b9246881182e7695ecb1fd68028e29faa6 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
@@ -8,6 +8,7 @@ import '../constants/values.dart' as values show ConstantValue;
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, SelectorKind;
abstract class Node {
@@ -267,6 +268,7 @@ class InvokeStatic extends Expression implements Invoke {
class InvokeMethod extends Expression implements Invoke {
Reference<Primitive> receiver;
Selector selector;
+ TypeMask mask;
final List<Reference<Primitive>> arguments;
final Reference<Continuation> continuation;
final SourceInformation sourceInformation;
@@ -278,6 +280,7 @@ class InvokeMethod extends Expression implements Invoke {
InvokeMethod(Primitive receiver,
this.selector,
+ this.mask,
List<Primitive> arguments,
Continuation continuation,
{this.sourceInformation})

Powered by Google App Engine
This is Rietveld 408576698