commit | decf5dac04e2b63f06b17a848ac57d50add1e639 | [log] [tgz] |
---|---|---|
author | Christoffer Adamsen <christofferqa@google.com> | Tue Sep 10 13:15:39 2024 +0200 |
committer | Christoffer Adamsen <christofferqa@google.com> | Tue Sep 10 13:15:39 2024 +0200 |
tree | 9a03c96a104a0544f4b2686447b48904ca6bb746 | |
parent | 0de13e261bb62a2b92807c24398eb9a8a65af281 [diff] |
Emit information about computation on assertion error Change-Id: Id9bfe81cd7e70da0e21e0b336b5d4092de227dde
diff --git a/src/main/java/com/android/tools/r8/optimize/argumentpropagation/codescanner/InFlowComparator.java b/src/main/java/com/android/tools/r8/optimize/argumentpropagation/codescanner/InFlowComparator.java index 1327a44..fd7a92d 100644 --- a/src/main/java/com/android/tools/r8/optimize/argumentpropagation/codescanner/InFlowComparator.java +++ b/src/main/java/com/android/tools/r8/optimize/argumentpropagation/codescanner/InFlowComparator.java
@@ -23,7 +23,8 @@ public SourcePosition getComputationTreePosition(ComputationTreeNode computation) { SourcePosition position = computationTreePositions.get(computation); - assert position != null; + assert position != null + : "Unexpected attempt to lookup position of " + computation.getClass().getName(); return position; }