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

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

Issue 2918593003: Pass ClassHierarchy instead of creating it. (Closed)
Patch Set: 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
Index: pkg/kernel/lib/target/flutter.dart
diff --git a/pkg/kernel/lib/target/flutter.dart b/pkg/kernel/lib/target/flutter.dart
index d5d0996e20666bb3a16cae0ae36675998a11cd11..07ddc6d07e1b671ba1c847a5b69d9d5a58fa5502 100644
--- a/pkg/kernel/lib/target/flutter.dart
+++ b/pkg/kernel/lib/target/flutter.dart
@@ -4,6 +4,7 @@
library kernel.target.flutter;
import '../ast.dart';
+import '../class_hierarchy.dart';
import '../core_types.dart';
import '../transformations/continuation.dart' as cont;
import '../transformations/erasure.dart';
@@ -50,8 +51,9 @@ class FlutterTarget extends Target {
'dart:vmservice_sky',
];
- void performModularTransformations(CoreTypes coreTypes, Program program) {
- mix.transformLibraries(this, coreTypes, program.libraries);
+ void performModularTransformations(
+ CoreTypes coreTypes, ClassHierarchy hierarchy, Program program) {
+ mix.transformLibraries(this, coreTypes, hierarchy, program.libraries);
}
void performGlobalTransformations(CoreTypes coreTypes, Program program) {

Powered by Google App Engine
This is Rietveld 408576698