mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
Should reset DBI_Prev if DBI_Next == 0.
llvm-svn: 65314
This commit is contained in:
parent
dd139e795c
commit
d3008c8b1c
@ -12419,6 +12419,8 @@ static void AddReachableCodeToWorklist(BasicBlock *BB,
|
||||
DBI_Prev->eraseFromParent();
|
||||
}
|
||||
DBI_Prev = DBI_Next;
|
||||
} else {
|
||||
DBI_Prev = 0;
|
||||
}
|
||||
|
||||
IC.AddToWorkList(Inst);
|
||||
|
Loading…
x
Reference in New Issue
Block a user