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

Unified Diff: pkg/kernel/lib/transformations/generic_types_reification.dart

Issue 2904203003: Don't recreate CoreTypes in transformers. Pass it in. (Closed)
Patch Set: Don't create CoreTypes in createOutlines() on InputError. 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/transformations/generic_types_reification.dart
diff --git a/pkg/kernel/lib/transformations/generic_types_reification.dart b/pkg/kernel/lib/transformations/generic_types_reification.dart
index ea645170be317d00864960cd219cf58cb536e3d6..8bdf691cd62a1eda872242b2e6b3506c38f065e5 100644
--- a/pkg/kernel/lib/transformations/generic_types_reification.dart
+++ b/pkg/kernel/lib/transformations/generic_types_reification.dart
@@ -5,10 +5,10 @@
library kernel.transformation.generic_types_reification;
import '../ast.dart' show Program;
-
+import '../core_types.dart' show CoreTypes;
import '../transformations/reify/reify_transformer.dart' as reify
show transformProgram;
-Program transformProgram(Program program) {
- return reify.transformProgram(program);
+Program transformProgram(CoreTypes coreTypes, Program program) {
+ return reify.transformProgram(coreTypes, program);
}
« no previous file with comments | « pkg/kernel/lib/transformations/continuation.dart ('k') | pkg/kernel/lib/transformations/insert_covariance_checks.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698