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

Jeff Cohen jeffc at jolt-lang.org
Sat Feb 4 08:20:43 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

ScheduleDAG.cpp updated: 1.64 -> 1.65
---
Log message:

Fix VC++ warning.

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

 ScheduleDAG.cpp |    1 -
 1 files changed, 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.64 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.65
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.64	Sat Feb  4 00:49:00 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp	Sat Feb  4 10:20:31 2006
@@ -301,7 +301,6 @@
       // Add all of the operand registers to the instruction.
       for (unsigned i = 2; i != NumOps; i += 2) {
         unsigned Flags =cast<ConstantSDNode>(Node->getOperand(i+1))->getValue();
-        MachineOperand::UseType UseTy;
         switch (Flags) {
         default: assert(0 && "Bad flags!");
         case 1: { // Use of register.






More information about the llvm-commits mailing list