1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Should reset DBI_Prev if DBI_Next == 0.

llvm-svn: 65314
This commit is contained in:
Zhou Sheng 2009-02-23 10:14:11 +00:00
parent dd139e795c
commit d3008c8b1c

View File

@ -12419,6 +12419,8 @@ static void AddReachableCodeToWorklist(BasicBlock *BB,
DBI_Prev->eraseFromParent();
}
DBI_Prev = DBI_Next;
} else {
DBI_Prev = 0;
}
IC.AddToWorkList(Inst);