summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-16 20:59:32 +0000
committerChris Lattner <sabre@nondot.org>2006-08-16 20:59:32 +0000
commitf83482dcad35ac4fcb0d387d8f84794cda70f857 (patch)
treec41d7eb87e114b7092e1665a62b8eb8a55eb384f /lib/CodeGen
parent3b4c5d72e0e7eaf40a7a0d54d2cd8f07435f705f (diff)
downloadllvm-f83482dcad35ac4fcb0d387d8f84794cda70f857.tar.gz
llvm-f83482dcad35ac4fcb0d387d8f84794cda70f857.tar.bz2
llvm-f83482dcad35ac4fcb0d387d8f84794cda70f857.tar.xz
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')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
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?