diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-16 20:59:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-16 20:59:32 +0000 |
commit | f83482dcad35ac4fcb0d387d8f84794cda70f857 (patch) | |
tree | c41d7eb87e114b7092e1665a62b8eb8a55eb384f /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 3b4c5d72e0e7eaf40a7a0d54d2cd8f07435f705f (diff) |
Use the appropriate typedef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 30205d4ef5..c53cf5359c 100644 --- 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? |