commit | 1434f39b77939ef061128e1135db566d9110b31a | [log] [tgz] |
---|---|---|
author | Christoffer Quist Adamsen <christofferqa@google.com> | Mon Oct 07 16:45:25 2019 +0200 |
committer | Christoffer Quist Adamsen <christofferqa@google.com> | Mon Oct 07 16:45:25 2019 +0200 |
tree | 7d1e20cb4d4911a523b37b2b6ed8b9e20351ec58 | |
parent | eeca6225ae36d1019fcfcfa6c0217f47be3cb239 [diff] |
Handle missing case NOT_PROCESSED in isInliningCandidate() Change-Id: Ie8c4d51c8f358061dc961b9229deced8de351fa7
diff --git a/src/main/java/com/android/tools/r8/graph/DexEncodedMethod.java b/src/main/java/com/android/tools/r8/graph/DexEncodedMethod.java index 56bfebb..dfe6a37 100644 --- a/src/main/java/com/android/tools/r8/graph/DexEncodedMethod.java +++ b/src/main/java/com/android/tools/r8/graph/DexEncodedMethod.java
@@ -414,11 +414,12 @@ return false; case PROCESSED_NOT_INLINING_CANDIDATE: + case NOT_PROCESSED: whyAreYouNotInliningReporter.reportUnknownReason(); return false; default: - throw new Unreachable(); + throw new Unreachable("Unexpected compilation state: " + compilationState); } }