projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e033d
)
Whoops, we inserted into the wrong set. What's up with the dead set anyway?
author
Chris Lattner
<sabre@nondot.org>
Mon, 13 Oct 2003 16:49:21 +0000
(16:49 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 13 Oct 2003 16:49:21 +0000
(16:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9094
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/LowerSetJmp.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/LowerSetJmp.cpp
b/lib/Transforms/IPO/LowerSetJmp.cpp
index 5be2514a4ea415b4cf49e7b766dd0db9ee38551f..36b0c388b4b63e35cbf97e8a74975e106ef232bf 100644
(file)
--- a/
lib/Transforms/IPO/LowerSetJmp.cpp
+++ b/
lib/Transforms/IPO/LowerSetJmp.cpp
@@
-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 */;
}