mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
decompiler: fix Merge::compareHighByBlock
- if def1=0 and def2==0 return false
This commit is contained in:
parent
0590f9336e
commit
dba1a5d7e6
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ inline bool Merge::compareHighByBlock(const HighVariable *a,const HighVariable *
|
||||||
PcodeOp *def1 = v1->getDef();
|
PcodeOp *def1 = v1->getDef();
|
||||||
PcodeOp *def2 = v2->getDef();
|
PcodeOp *def2 = v2->getDef();
|
||||||
if ( def1 == (PcodeOp *) 0 ) {
|
if ( def1 == (PcodeOp *) 0 ) {
|
||||||
return true;
|
return def2 != (PcodeOp *) 0;
|
||||||
}
|
}
|
||||||
else if ( def2 == (PcodeOp *) 0 ) {
|
else if ( def2 == (PcodeOp *) 0 ) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue