| commit | c3784927fc88a4ce87b2d3cc9bd971dd3a6f0b7d | [log] [tgz] |
|---|---|---|
| author | Morten Krogh-Jespersen <mkroghj@google.com> | Mon Apr 27 08:40:27 2020 +0200 |
| committer | Morten Krogh-Jespersen <mkroghj@google.com> | Mon Apr 27 10:28:15 2020 +0000 |
| tree | e92610b73f279c14d92c92fc965e764021d76cc2 | |
| parent | d5df7b65730627a5b12811e71e9c0669187c5eff [diff] |
Remove comments mentioning trust lower bound Change-Id: I5c3b2836fee39620fc091017aad83003b2b66d1b
diff --git a/src/main/java/com/android/tools/r8/ir/code/InvokeMethod.java b/src/main/java/com/android/tools/r8/ir/code/InvokeMethod.java index 7c34ec5..ccd513f 100644 --- a/src/main/java/com/android/tools/r8/ir/code/InvokeMethod.java +++ b/src/main/java/com/android/tools/r8/ir/code/InvokeMethod.java
@@ -104,7 +104,6 @@ && !appView .appInfo() .isSubtype(refinedReceiverLowerBound.type, refinedReceiverUpperBound.type)) { - // We cannot trust the lower bound. refinedReceiverLowerBound = null; } }
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 0de5218..03072bb 100644 --- a/src/main/java/com/android/tools/r8/shaking/AppInfoWithLiveness.java +++ b/src/main/java/com/android/tools/r8/shaking/AppInfoWithLiveness.java
@@ -1170,7 +1170,6 @@ refinedLowerBound = refinedLowerBoundClass.asProgramClass(); // TODO(b/154822960): Check if the lower bound is a subtype of the upper bound. if (refinedLowerBound != null && !isSubtype(refinedLowerBound.type, refinedReceiverType)) { - // We cannot trust the lower bound, so null it out. refinedLowerBound = null; } }