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

Unified Diff: pkg/kernel/lib/target/flutter.dart

Issue 2897683002: Move code for instantiating Invocation to Target. (Closed)
Patch Set: Rename vmTarget to targetInfo. Created 3 years, 7 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
« no previous file with comments | « pkg/front_end/tool/fasta_perf.dart ('k') | pkg/kernel/lib/target/targets.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/target/flutter.dart
diff --git a/pkg/kernel/lib/target/flutter.dart b/pkg/kernel/lib/target/flutter.dart
index 911abed1be95536449537f0a2b28ca765ffe1d6b..0c311e3b73594ebd71ea0edb166af0443fefc4a8 100644
--- a/pkg/kernel/lib/target/flutter.dart
+++ b/pkg/kernel/lib/target/flutter.dart
@@ -50,7 +50,7 @@ class FlutterTarget extends Target {
];
void performModularTransformations(Program program) {
- new mix.MixinFullResolution().transform(program);
+ new mix.MixinFullResolution(this).transform(program);
}
void performGlobalTransformations(Program program) {
@@ -66,4 +66,11 @@ class FlutterTarget extends Target {
new SanitizeForVM().transform(program);
}
+
+ @override
+ Expression instantiateInvocation(Member target, Expression receiver,
+ String name, Arguments arguments, int offset, bool isSuper) {
+ // TODO(ahe): This should probably return the same as VmTarget does.
+ return new InvalidExpression();
+ }
}
« no previous file with comments | « pkg/front_end/tool/fasta_perf.dart ('k') | pkg/kernel/lib/target/targets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698