mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Remove unused code.
TBR R=brianwilkerson@google.com, paulberry@google.com BUG= Review URL: https://codereview.chromium.org/2440363002 .
This commit is contained in:
parent
6ca7d24211
commit
e0563e7dbd
1 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue