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

Unified Diff: pkg/front_end/lib/src/fasta/compile_platform.dart

Issue 2675683002: Update fasta tests to use the new transformation API (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | pkg/front_end/lib/src/fasta/testing/kernel_chain.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/compile_platform.dart
diff --git a/pkg/front_end/lib/src/fasta/compile_platform.dart b/pkg/front_end/lib/src/fasta/compile_platform.dart
index d6085010a141feac74cbb6a7c9de1a1da7049ff3..09880e39ee4dda961f570adab180727ea2c85ec9 100644
--- a/pkg/front_end/lib/src/fasta/compile_platform.dart
+++ b/pkg/front_end/lib/src/fasta/compile_platform.dart
@@ -102,7 +102,8 @@ main(List<String> arguments) async {
program.libraries.where(
(Library l) => l.importUri.scheme == "dart").toList(),
program.uriToSource);
- target.transformProgram(program);
+ target.performModularTransformations(program);
+ target.performGlobalTransformations(program);
for (LibraryElement analyzerLibrary in loader.libraryElements) {
Library library = loader.getLibraryReference(analyzerLibrary);
StringBuffer sb = new StringBuffer();
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/testing/kernel_chain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698