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

Unified Diff: pkg/analyzer_cli/lib/src/driver.dart

Issue 2698263002: Revert "Revert "Reapply "Switch to the new analysis driver in analyzer_cli.""" (Closed)
Patch Set: Created 3 years, 10 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/analyzer_cli/lib/src/analyzer_impl.dart ('k') | pkg/analyzer_cli/lib/src/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/lib/src/driver.dart
diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart
index eb90671e88a77d999def6d1db2796b3aa574c2ae..f3c57a2ae99c0a6f00728150a8dd329cfffa696c 100644
--- a/pkg/analyzer_cli/lib/src/driver.dart
+++ b/pkg/analyzer_cli/lib/src/driver.dart
@@ -581,7 +581,9 @@ class Driver implements CommandLineStarter {
scheduler,
log,
resourceProvider,
- analysisDriverMemoryByteStore,
+ options.useAnalysisDriverMemoryByteStore
+ ? analysisDriverMemoryByteStore
+ : analysisDriverFileByteStore,
new FileContentOverlay(),
'test',
context.sourceFactory,
« no previous file with comments | « pkg/analyzer_cli/lib/src/analyzer_impl.dart ('k') | pkg/analyzer_cli/lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698