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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/driver.dart

Issue 2440363002: Remove unused code. (Closed)
Patch Set: Created 4 years, 2 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/dart/analysis/driver.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/driver.dart b/pkg/analyzer/lib/src/dart/analysis/driver.dart
index 8439bcc033aaf947c3e599f035cea398a5a7072b..6114222030f774ece1d4216d8b883f428c4fe444 100644
--- a/pkg/analyzer/lib/src/dart/analysis/driver.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/driver.dart
@@ -448,7 +448,6 @@ class AnalysisDriver {
List<int> bytes = _byteStore.get(key);
if (bytes != null) {
PackageBundle linked = new PackageBundle.fromBuffer(bytes);
- node.linked = linked;
store.addBundle(null, linked);
numberOfNodesWithLinked++;
} else {
@@ -484,7 +483,6 @@ class AnalysisDriver {
bytes = assembler.assemble().toBuffer();
}
PackageBundle linked = new PackageBundle.fromBuffer(bytes);
- node.linked = linked;
store.addBundle(null, linked);
_byteStore.put(key, bytes);
});
@@ -858,9 +856,6 @@ class _LibraryNode {
List<_LibraryNode> _dependencies;
String _linkedHash;
- List<int> linkedNewBytes;
- PackageBundle linked;
-
_LibraryNode(this.driver, this.nodes, this.uri);
/**
@@ -909,8 +904,6 @@ class _LibraryNode {
@override
int get hashCode => uri.hashCode;
- bool get isReady => linked != null;
-
String get linkedHash {
_linkedHash ??= driver._linkedHashMap.putIfAbsent(uri, () {
computeTransitiveDependencies();
« 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