diff options
Diffstat (limited to 'src/main/java/com/android/tools/r8/ir/regalloc')
-rw-r--r-- | src/main/java/com/android/tools/r8/ir/regalloc/LinearScanRegisterAllocator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/android/tools/r8/ir/regalloc/LinearScanRegisterAllocator.java b/src/main/java/com/android/tools/r8/ir/regalloc/LinearScanRegisterAllocator.java index 908e15e43..06918870a 100644 --- a/src/main/java/com/android/tools/r8/ir/regalloc/LinearScanRegisterAllocator.java +++ b/src/main/java/com/android/tools/r8/ir/regalloc/LinearScanRegisterAllocator.java @@ -1521,7 +1521,7 @@ public class LinearScanRegisterAllocator implements RegisterAllocator { // If we are processing an exception edge, we need to use the throwing instruction // as the instruction we are coming from. int fromInstruction = block.exit().getNumber(); - boolean isCatch = block.isCatchSuccessor(successor); + boolean isCatch = block.hasCatchSuccessor(successor); if (isCatch) { for (Instruction instruction : block.getInstructions()) { if (instruction.instructionTypeCanThrow()) { |