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:
3b4c5d7
)
Use the appropriate typedef
author
Chris Lattner
<sabre@nondot.org>
Wed, 16 Aug 2006 20:59:32 +0000
(20:59 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 16 Aug 2006 20:59:32 +0000
(20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29730
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 30205d4ef5bee723529e17f28f969e41396d4347..c53cf5359c3ce355deca4e7ba32eeb1a1d16524b 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-2540,8
+2540,7
@@
bool SDNode::hasNUsesOfValue(unsigned NUses, unsigned Value) const {
std::set<SDNode*> UsersHandled;
- for (std::vector<SDNode*>::const_iterator UI = Uses.begin(), E = Uses.end();
- UI != E; ++UI) {
+ for (SDNode::use_iterator UI = Uses.begin(), E = Uses.end(); UI != E; ++UI) {
SDNode *User = *UI;
if (User->getNumOperands() == 1 ||
UsersHandled.insert(User).second) // First time we've seen this?