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

Unified Diff: utils/kernel-service/kernel-service.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
« no previous file with comments | « pkg/pkg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/kernel-service/kernel-service.dart
diff --git a/utils/kernel-service/kernel-service.dart b/utils/kernel-service/kernel-service.dart
index a77072d51539a143f9cfa0f0f15c6f801ab96173..072697b961e0216f5ab3563863070a7d2f173847 100644
--- a/utils/kernel-service/kernel-service.dart
+++ b/utils/kernel-service/kernel-service.dart
@@ -29,6 +29,8 @@ import 'package:front_end/src/fasta/vm.dart'
const bool verbose = const bool.fromEnvironment('DFE_VERBOSE');
+const bool strongMode = const bool.fromEnvironment('DFE_STRONG_MODE');
+
Future<CompilationResult> _processLoadRequestImpl(String inputFilePathOrUri) {
Uri scriptUri = Uri.parse(inputFilePathOrUri);
@@ -47,7 +49,7 @@ Future<CompilationResult> _processLoadRequestImpl(String inputFilePathOrUri) {
"Expected 'file' scheme for a script uri: got ${scriptUri.scheme}"));
}
- return parseScript(scriptUri, verbose: verbose);
+ return parseScript(scriptUri, verbose: verbose, strongMode: strongMode);
}
// Process a request from the runtime. See KernelIsolate::CompileToKernel in
« no previous file with comments | « pkg/pkg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698