projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update SetVector to rely on the underlying set's insert to return a pair<iterator...
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
ADCE.cpp
diff --git
a/lib/Transforms/Scalar/ADCE.cpp
b/lib/Transforms/Scalar/ADCE.cpp
index 1a3a4aadce6a27f9f3baed7020f644ce1d88da17..3d9198469bc5177effc54b865c6cc14ad6fc6883 100644
(file)
--- a/
lib/Transforms/Scalar/ADCE.cpp
+++ b/
lib/Transforms/Scalar/ADCE.cpp
@@
-73,7
+73,7
@@
bool ADCE::runOnFunction(Function& F) {
for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end();
OI != OE; ++OI)
if (Instruction* Inst = dyn_cast<Instruction>(OI))
- if (alive.insert(Inst))
+ if (alive.insert(Inst)
.second
)
worklist.push_back(Inst);
}