[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 16 13:59:47 PDT 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAG.cpp updated: 1.331 -> 1.332
---
Log message:

Use the appropriate typedef


---
Diffs of the changes:  (+1 -2)

 SelectionDAG.cpp |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.331 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.332
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.331	Tue Aug 15 14:11:05 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Wed Aug 16 15:59:32 2006
@@ -2540,8 +2540,7 @@
 
   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?






More information about the llvm-commits mailing list