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

Unified Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 2303213003: RESOLVED_UNIT2 and RESOLVED_UNIT3 can be reused. (Closed)
Patch Set: Created 4 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/dart.dart
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
index 9437ad1630b04b05dc3f5113458f475f6d1964ae..3683b7ed2ad5b4beb36fa4117b9d9144dea31cf1 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -785,7 +785,7 @@ final ResultDescriptor<CompilationUnit> RESOLVED_UNIT12 =
*/
final ResultDescriptor<CompilationUnit> RESOLVED_UNIT2 =
new ResultDescriptor<CompilationUnit>('RESOLVED_UNIT2', null,
- cachingPolicy: AST_CACHING_POLICY);
+ cachingPolicy: AST_REUSABLE_CACHING_POLICY);
/**
* The partially resolved [CompilationUnit] associated with a compilation unit.
@@ -798,7 +798,7 @@ final ResultDescriptor<CompilationUnit> RESOLVED_UNIT2 =
*/
final ResultDescriptor<CompilationUnit> RESOLVED_UNIT3 =
new ResultDescriptor<CompilationUnit>('RESOLVED_UNIT3', null,
- cachingPolicy: AST_CACHING_POLICY);
+ cachingPolicy: AST_REUSABLE_CACHING_POLICY);
/**
* The partially resolved [CompilationUnit] associated with a compilation unit.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698