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

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

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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/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 61af60b05db376cbe428a71d296e2f80a670c60d..9be271f72e20219d286bf9409599018cc0da22db 100644
--- a/pkg/front_end/lib/src/fasta/compile_platform.dart
+++ b/pkg/front_end/lib/src/fasta/compile_platform.dart
@@ -51,6 +51,9 @@ Future compilePlatform(List<String> arguments) async {
Future compilePlatformInternal(
CompilerContext c, Ticker ticker, Uri patchedSdk, Uri output) async {
+ if (c.options.strongMode) {
+ print("Note: strong mode support is preliminary and may not work.");
+ }
ticker.isVerbose = c.options.verbose;
Uri deps = Uri.base.resolveUri(new Uri.file("${output.toFilePath()}.d"));
ticker.logMs("Parsed arguments");
@@ -63,8 +66,8 @@ Future compilePlatformInternal(
ticker.logMs("Read packages file");
DillTarget dillTarget = new DillTarget(ticker, uriTranslator);
- KernelTarget kernelTarget =
- new KernelTarget(dillTarget, uriTranslator, c.uriToSource);
+ KernelTarget kernelTarget = new KernelTarget(
+ dillTarget, uriTranslator, c.options.strongMode, c.uriToSource);
kernelTarget.read(Uri.parse("dart:core"));
await dillTarget.writeOutline(null);
« no previous file with comments | « pkg/front_end/lib/src/fasta/analyzer/analyzer_target.dart ('k') | pkg/front_end/lib/src/fasta/compiler_command_line.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698