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

Unified Diff: pkg/kernel/test/baseline_tester.dart

Issue 2918923003: Revert "Use backend targets to run Kernel transformations in Fasta" (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
« no previous file with comments | « pkg/kernel/lib/transformations/erasure.dart ('k') | pkg/kernel/test/closures/suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/test/baseline_tester.dart
diff --git a/pkg/kernel/test/baseline_tester.dart b/pkg/kernel/test/baseline_tester.dart
index fb7fb2b85ed81728a84ce68175a3506c61dce4b0..a7b3715d0872d3a884bbb1e07ab8688a2fcc1548 100644
--- a/pkg/kernel/test/baseline_tester.dart
+++ b/pkg/kernel/test/baseline_tester.dart
@@ -27,12 +27,10 @@ abstract class TestTarget extends Target {
Annotator get annotator => null;
// Return a list of strings so that we can accumulate errors.
- List<String> performModularTransformationsOnProgram(
- CoreTypes coreTypes, ClassHierarchy hierarchy, Program program,
- {void logger(String msg)});
+ List<String> performModularTransformations(
+ CoreTypes coreTypes, ClassHierarchy hierarchy, Program program);
List<String> performGlobalTransformations(
- CoreTypes coreTypes, Program program,
- {void logger(String msg)});
+ CoreTypes coreTypes, Program program);
}
void runBaselineTests(String folderName, TestTarget target) {
@@ -63,7 +61,7 @@ void runBaselineTests(String folderName, TestTarget target) {
loader.loadProgram(dartPath, target: target);
verifyProgram(program);
var errors = <String>[];
- errors.addAll(target.performModularTransformationsOnProgram(
+ errors.addAll(target.performModularTransformations(
coreTypes, hierarchy, program));
verifyProgram(program);
errors.addAll(target.performGlobalTransformations(coreTypes, program));
« no previous file with comments | « pkg/kernel/lib/transformations/erasure.dart ('k') | pkg/kernel/test/closures/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698