commit | 223be8d22f196645d831ae844ed328b7040b4a8c | [log] [tgz] |
---|---|---|
author | Ian Zerny <zerny@google.com> | Tue Jan 26 11:24:54 2021 +0100 |
committer | Ian Zerny <zerny@google.com> | Tue Jan 26 11:24:54 2021 +0100 |
tree | b56aebf4dc97e0675b3fbf7bcf39f54f2ffbcfee | |
parent | aa1487f791c7bc131af817136cabff37e8f6828d [diff] |
Removed the wrong loop in fix for b/175332495. Change-Id: I9a950714e763567f79f5781bab2feb9ac7135c32
diff --git a/src/main/java/com/android/tools/r8/ir/code/Value.java b/src/main/java/com/android/tools/r8/ir/code/Value.java index 3205733..3325942 100644 --- a/src/main/java/com/android/tools/r8/ir/code/Value.java +++ b/src/main/java/com/android/tools/r8/ir/code/Value.java
@@ -430,8 +430,8 @@ if (hasPhiUsers() || hasDebugUsers()) { return false; } - for (Phi phiUser : uniquePhiUsers()) { - if (phiUser.getBlock() != block) { + for (Instruction user : uniqueUsers()) { + if (user.getBlock() != block) { return false; } }