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

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

Issue 2881603003: Generate outline without transformations in patched_sdk, use it for unit tests (Closed)
Patch Set: really use the outline, really 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/front_end/lib/src/fasta/fasta.dart
diff --git a/pkg/front_end/lib/src/fasta/fasta.dart b/pkg/front_end/lib/src/fasta/fasta.dart
index db0b740b2d8b773c38b263ba1a378df3e61934ee..6076090b22593cbd3e4b665cf9c4b871c2f60a32 100644
--- a/pkg/front_end/lib/src/fasta/fasta.dart
+++ b/pkg/front_end/lib/src/fasta/fasta.dart
@@ -222,15 +222,16 @@ Future<CompilationResult> parseScript(
}
}
-Future compilePlatform(Uri patchedSdk, Uri output,
- {Uri packages, bool verbose: false}) async {
+Future compilePlatform(Uri patchedSdk, Uri fullOutput,
+ {Uri outlineOutput, Uri packages, bool verbose: false}) async {
Ticker ticker = new Ticker(isVerbose: verbose);
await CompilerCommandLine.withGlobalOptions("", [""], (CompilerContext c) {
c.options.options["--packages"] = packages;
if (verbose) {
c.options.options["--verbose"] = true;
}
- return compilePlatformInternal(c, ticker, patchedSdk, output);
+ return compilePlatformInternal(
+ c, ticker, patchedSdk, fullOutput, outlineOutput);
});
}

Powered by Google App Engine
This is Rietveld 408576698