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]
/
include
/
llvm
/
Analysis
/
ScalarEvolutionExpressions.h
diff --git
a/include/llvm/Analysis/ScalarEvolutionExpressions.h
b/include/llvm/Analysis/ScalarEvolutionExpressions.h
index ee0885b4fa3436be52639512260efc1e718049d8..94e665fb6dddc31b127b78fbf7d7ac6d36316ed7 100644
(file)
--- a/
include/llvm/Analysis/ScalarEvolutionExpressions.h
+++ b/
include/llvm/Analysis/ScalarEvolutionExpressions.h
@@
-577,7
+577,7
@@
namespace llvm {
SmallPtrSet<const SCEV *, 8> Visited;
void push(const SCEV *S) {
- if (Visited.insert(S) && Visitor.follow(S))
+ if (Visited.insert(S)
.second
&& Visitor.follow(S))
Worklist.push_back(S);
}
public: