Revert "Relax operand equality condition in try/finally detection"

This reverts commit 7e2421df89.
master
Graham 4 years ago
parent a6b6f0a54b
commit a7f0e61c74
  1. 8
      src/org/jetbrains/java/decompiler/modules/decompiler/FinallyProcessor.java

@ -843,11 +843,11 @@ public class FinallyProcessor {
if (firstOp != secondOp) {
// a-load/store instructions
if (first.opcode == CodeConstants.opc_aload || first.opcode == CodeConstants.opc_astore) {
//for (int[] arr : lstStoreVars) {
// if (arr[0] == firstOp && arr[1] == secondOp) {
for (int[] arr : lstStoreVars) {
if (arr[0] == firstOp && arr[1] == secondOp) {
return true;
// }
//}
}
}
}
return false;

Loading…
Cancel
Save