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 f69e935f5dd49b5fa33944eed2c51ab043a17303..34d3728fe2b229928d0e0d4084ffb91428dc7165 100644 |
--- a/pkg/analyzer_cli/lib/src/driver.dart |
+++ b/pkg/analyzer_cli/lib/src/driver.dart |
@@ -39,10 +39,6 @@ import 'package:plugin/manager.dart'; |
import 'package:plugin/plugin.dart'; |
import 'package:yaml/yaml.dart'; |
-/// The maximum number of sources for which AST structures should be kept in the |
-/// cache. |
-const int _maxCacheSize = 512; |
- |
/// Shared IO sink for standard error reporting. |
/// |
/// *Visible for testing.* |
@@ -410,7 +406,6 @@ class Driver { |
// Set context options. |
AnalysisOptionsImpl contextOptions = new AnalysisOptionsImpl(); |
- contextOptions.cacheSize = _maxCacheSize; |
contextOptions.hint = !options.disableHints; |
contextOptions.enableStrictCallChecks = options.enableStrictCallChecks; |
contextOptions.enableSuperMixins = options.enableSuperMixins; |