GP-2764 fixed bug fund in testing

This commit is contained in:
emteere
2022-10-27 03:24:22 +00:00
parent 90119cf14e
commit 77117362f2

View File

@@ -282,7 +282,7 @@ public class SharedReturnAnalysisCmd extends BackgroundCommand {
Address fallFrom = instr.getFallFrom();
if (fallFrom != null) {
Instruction fallInstr = program.getListing().getInstructionContaining(fallFrom);
if (fallInstr != null && fallInstr.getFallThrough().equals(location)) {
if (fallInstr != null && location.equals(fallInstr.getFallThrough())) {
return true;
}
}