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

Unified Diff: lib/src/analyzer/context.dart

Issue 2059253003: Use trackCacheDependencies for performance speedup (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: revert sdk options Created 4 years, 6 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 | pubspec.lock » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/analyzer/context.dart
diff --git a/lib/src/analyzer/context.dart b/lib/src/analyzer/context.dart
index 2bb9f7b2abce953c161c76f093371bc53e11ecd8..1ba395314944eda30df6f3f25e8311785b3d67fe 100644
--- a/lib/src/analyzer/context.dart
+++ b/lib/src/analyzer/context.dart
@@ -142,7 +142,9 @@ AnalysisContext createAnalysisContextWithSources(AnalyzerOptions options,
/// Creates an analysis context that contains our restricted typing rules.
AnalysisContextImpl createAnalysisContext() {
var res = AnalysisEngine.instance.createAnalysisContext();
- res.analysisOptions = new AnalysisOptionsImpl()..strongMode = true;
+ res.analysisOptions = new AnalysisOptionsImpl()
+ ..strongMode = true
+ ..trackCacheDependencies = false;
return res;
}
« no previous file with comments | « no previous file | pubspec.lock » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698