mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 06:27:04 +08:00
Merge remote-tracking branch 'origin/GP-6734_HighIntersectTest_Symmetric' into Ghidra_12.1
This commit is contained in:
@@ -1121,8 +1121,11 @@ void HighIntersectTest::moveIntersectTests(HighVariable *high1,HighVariable *hig
|
|||||||
iter = highedgemap.lower_bound( HighEdge(high1,(HighVariable *)0) );
|
iter = highedgemap.lower_bound( HighEdge(high1,(HighVariable *)0) );
|
||||||
while((iter!=highedgemap.end())&&((*iter).first.a == high1)) {
|
while((iter!=highedgemap.end())&&((*iter).first.a == high1)) {
|
||||||
if (!(*iter).second) { // If test is intersection==false
|
if (!(*iter).second) { // If test is intersection==false
|
||||||
if (!(*iter).first.b->isMark()) // and there was no test with high2
|
if (!(*iter).first.b->isMark()) { // and there was no test with high2
|
||||||
highedgemap.erase( iter++ ); // Delete the test
|
// Delete both edges of the test
|
||||||
|
highedgemap.erase( HighEdge( (*iter).first.b, (*iter).first.a) );
|
||||||
|
highedgemap.erase( iter++ );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
++iter;
|
++iter;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user