summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
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
commita4f3625c23a287e9b8d1ce0b0c9ea77623290d54 (patch)
tree6410e4c6bec2b59b38e03d81512f23e62dda4b71 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent4e41aaf80512b1e6125bceed7646f37e0cdfe6ea (diff)
downloadbcm5719-llvm-a4f3625c23a287e9b8d1ce0b0c9ea77623290d54.tar.gz
bcm5719-llvm-a4f3625c23a287e9b8d1ce0b0c9ea77623290d54.zip
Use the appropriate typedef
llvm-svn: 29730
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 30205d4ef5b..c53cf5359c3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/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?
OpenPOWER on IntegriCloud