mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Use the appropriate typedef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b4c5d72e0
commit
f83482dcad
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user