Changes in directory llvm/lib/Target/PowerPC:

PPCAsmPrinter.cpp updated: 1.175 -> 1.176
---
Log message:

Remove some dead code, identified by coverity.



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

 PPCAsmPrinter.cpp |    6 ------
 1 files changed, 6 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.175 
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.176
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.175     Fri May 12 12:33:59 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp   Mon May 15 00:48:32 2006
@@ -350,13 +350,7 @@
 #include "PPCGenAsmWriter.inc"
 
 void PPCAsmPrinter::printOp(const MachineOperand &MO) {
-  const MRegisterInfo &RI = *TM.getRegisterInfo();
-  int new_symbol;
-
   switch (MO.getType()) {
-    O << RI.get(MO.getReg()).Name;
-    return;
-
   case MachineOperand::MO_Immediate:
     std::cerr << "printOp() does not handle immediate values\n";
     abort();



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to