From a4f3625c23a287e9b8d1ce0b0c9ea77623290d54 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 16 Aug 2006 20:59:32 +0000 Subject: Use the appropriate typedef llvm-svn: 29730 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp') 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 UsersHandled; - for (std::vector::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? -- cgit v1.2.3