[llvm-commits] [llvm] r119124 - in /llvm/trunk/lib/Target/PowerPC: InstPrinter/PPCInstPrinter.h PPCInstrInfo.td

Chris Lattner sabre at nondot.org
Sun Nov 14 22:01:10 PST 2010


Author: lattner
Date: Mon Nov 15 00:01:10 2010
New Revision: 119124

URL: http://llvm.org/viewvc/llvm-project?rev=119124&view=rev
Log:
eliminate a now-unneeded operand printer.

Modified:
    llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
    llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td

Modified: llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h?rev=119124&r1=119123&r2=119124&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h (original)
+++ llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h Mon Nov 15 00:01:10 2010
@@ -52,9 +52,6 @@
   void printU16ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
   void printS16X4ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
   void printBranchOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
-  void printCallOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) {
-    printOperand(MI, OpNo, O);
-  }
   void printAbsAddrOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
 
   void printcrbitm(const MCInst *MI, unsigned OpNo, raw_ostream &O);

Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td?rev=119124&r1=119123&r2=119124&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td Mon Nov 15 00:01:10 2010
@@ -290,7 +290,6 @@
   let PrintMethod = "printBranchOperand";
 }
 def calltarget : Operand<iPTR> {
-  let PrintMethod = "printCallOperand";
   let EncoderMethod = "getCallTargetEncoding";
 }
 def aaddr : Operand<iPTR> {





More information about the llvm-commits mailing list