Use the appropriate typedef

llvm-svn: 29730
This commit is contained in:
Chris Lattner 2006-08-16 20:59:32 +00:00
parent 4e41aaf805
commit a4f3625c23
1 changed files with 1 additions and 2 deletions

View File

@ -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?