mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Whoops, we inserted into the wrong set. What's up with the dead set anyway?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -132,13 +132,11 @@ bool LowerSetJmp::run(Module& M)
|
|||||||
doInitialization(M);
|
doInitialization(M);
|
||||||
|
|
||||||
if (SetJmp) {
|
if (SetJmp) {
|
||||||
std::set<BasicBlock*> BBSet;
|
|
||||||
|
|
||||||
for (Value::use_iterator B = SetJmp->use_begin(), E = SetJmp->use_end();
|
for (Value::use_iterator B = SetJmp->use_begin(), E = SetJmp->use_end();
|
||||||
B != E; ++B) {
|
B != E; ++B) {
|
||||||
BasicBlock* BB = cast<Instruction>(*B)->getParent();
|
BasicBlock* BB = cast<Instruction>(*B)->getParent();
|
||||||
for (df_ext_iterator<BasicBlock*> I = df_ext_begin(BB, BBSet),
|
for (df_ext_iterator<BasicBlock*> I = df_ext_begin(BB, DFSBlocks),
|
||||||
E = df_ext_end(BB, BBSet); I != E; ++I)
|
E = df_ext_end(BB, DFSBlocks); I != E; ++I)
|
||||||
/* empty */;
|
/* empty */;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user