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

Unified Diff: pkg/compiler/lib/compiler.dart

Issue 1803303002: Move all flags to CompilerOptions (first step to stop passing the compiler to (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/compiler/lib/compiler_new.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/compiler.dart
diff --git a/pkg/compiler/lib/compiler.dart b/pkg/compiler/lib/compiler.dart
index 763dc4a908235c3890c302cc80990e992d8c5a67..445e2ca733dd8b38881b6501da2e1a7cfec95c89 100644
--- a/pkg/compiler/lib/compiler.dart
+++ b/pkg/compiler/lib/compiler.dart
@@ -115,7 +115,7 @@ Future<CompilationResult> compile(
Uri packageConfig,
PackagesDiscoveryProvider packagesDiscoveryProvider]) {
- new_api.CompilerOptions compilerOptions = new new_api.CompilerOptions(
+ new_api.CompilerOptions compilerOptions = new new_api.CompilerOptions.parse(
entryPoint: script,
libraryRoot: libraryRoot,
packageRoot: packageRoot,
« no previous file with comments | « no previous file | pkg/compiler/lib/compiler_new.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698