| Index: pkg/analyzer/lib/src/context/cache.dart
|
| diff --git a/pkg/analyzer/lib/src/context/cache.dart b/pkg/analyzer/lib/src/context/cache.dart
|
| index 8e9ca2bd3d3d668b77ce673efad3413c744da90c..38d7d1c372bd18959f309585693d6eb65b8dff48 100644
|
| --- a/pkg/analyzer/lib/src/context/cache.dart
|
| +++ b/pkg/analyzer/lib/src/context/cache.dart
|
| @@ -346,9 +346,7 @@ class CacheEntry {
|
| Map<ResultDescriptor, ResultData> _resultMap =
|
| new HashMap<ResultDescriptor, ResultData>();
|
|
|
| - CacheEntry(this.target) {
|
| - _markAsCacheKey(target);
|
| - }
|
| + CacheEntry(this.target);
|
|
|
| /**
|
| * The exception that caused one or more values to have a state of
|
| @@ -397,10 +395,6 @@ class CacheEntry {
|
| }
|
| });
|
| _resultMap.clear();
|
| - AnalysisTarget oldTarget = target;
|
| - if (oldTarget is ElementImpl) {
|
| - oldTarget.setModifier(Modifier.CACHE_KEY, false);
|
| - }
|
| }
|
|
|
| /**
|
| @@ -755,15 +749,6 @@ class CacheEntry {
|
| }
|
|
|
| /**
|
| - * If the given `target` is an element, mark it as being a cache key.
|
| - */
|
| - void _markAsCacheKey(AnalysisTarget target) {
|
| - if (target is ElementImpl) {
|
| - target.setModifier(Modifier.CACHE_KEY, true);
|
| - }
|
| - }
|
| -
|
| - /**
|
| * Set the [dependedOn] on which this result depends.
|
| */
|
| void _setDependedOnResults(ResultData thisData, TargetedResult thisResult,
|
|
|