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, |