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

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

Issue 2918623004: Use backend targets to run Kernel transformations in Fasta (Closed)
Patch Set: Adjust to the recent changes in master 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 07ddc6d07e1b671ba1c847a5b69d9d5a58fa5502..5044691475a2363bac593028ff4b472f6b991e63 100644
--- a/pkg/kernel/lib/target/flutter.dart
+++ b/pkg/kernel/lib/target/flutter.dart
@@ -51,12 +51,14 @@ class FlutterTarget extends Target {
'dart:vmservice_sky',
];
- void performModularTransformations(
- CoreTypes coreTypes, ClassHierarchy hierarchy, Program program) {
- mix.transformLibraries(this, coreTypes, hierarchy, program.libraries);
+ void performModularTransformationsOnLibraries(
+ CoreTypes coreTypes, ClassHierarchy hierarchy, List<Library> libraries,
+ {void logger(String msg)}) {
+ mix.transformLibraries(this, coreTypes, hierarchy, libraries);
}
- void performGlobalTransformations(CoreTypes coreTypes, Program program) {
+ void performGlobalTransformations(CoreTypes coreTypes, Program program,
+ {void logger(String msg)}) {
cont.transformProgram(coreTypes, program);
// Repair `_getMainClosure()` function in dart:{_builtin,ui} libraries.
« 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