commit | f1473bac4f283a6610d0403e037f2b0a2a0b1978 | [log] [tgz] |
---|---|---|
author | Christoffer Quist Adamsen <christofferqa@google.com> | Wed Nov 25 20:49:38 2020 +0100 |
committer | Christoffer Quist Adamsen <christofferqa@google.com> | Wed Nov 25 19:50:20 2020 +0000 |
tree | 0d6830ffaf1a50a53422a2aa452609b8577fa611 | |
parent | c20c9a08c95658145ce30ed1a6b251fd2d8733fe [diff] |
Fix negation in AppInfoWithLiveness.prunedCopyFrom Change-Id: I0abcaa8f323072ecc51270cfc854ce3833a362d5
diff --git a/src/main/java/com/android/tools/r8/shaking/AppInfoWithLiveness.java b/src/main/java/com/android/tools/r8/shaking/AppInfoWithLiveness.java index c1275c5..8aed08a 100644 --- a/src/main/java/com/android/tools/r8/shaking/AppInfoWithLiveness.java +++ b/src/main/java/com/android/tools/r8/shaking/AppInfoWithLiveness.java
@@ -939,7 +939,7 @@ */ public AppInfoWithLiveness prunedCopyFrom(PrunedItems prunedItems) { assert checkIfObsolete(); - if (!prunedItems.hasRemovedClasses()) { + if (prunedItems.hasRemovedClasses()) { // Rebuild the hierarchy. objectAllocationInfoCollection.mutate(mutator -> {}, this); keepInfo.mutate(