1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Whoops, we inserted into the wrong set. What's up with the dead set anyway?

llvm-svn: 9094
This commit is contained in:
Chris Lattner 2003-10-13 16:49:21 +00:00
parent 752b5bcffd
commit dda241ffe4

View File

@ -132,13 +132,11 @@ bool LowerSetJmp::run(Module& M)
doInitialization(M);
if (SetJmp) {
std::set<BasicBlock*> BBSet;
for (Value::use_iterator B = SetJmp->use_begin(), E = SetJmp->use_end();
B != E; ++B) {
BasicBlock* BB = cast<Instruction>(*B)->getParent();
for (df_ext_iterator<BasicBlock*> I = df_ext_begin(BB, BBSet),
E = df_ext_end(BB, BBSet); I != E; ++I)
for (df_ext_iterator<BasicBlock*> I = df_ext_begin(BB, DFSBlocks),
E = df_ext_end(BB, DFSBlocks); I != E; ++I)
/* empty */;
}