[llvm-commits] [llvm] r119083 - in /llvm/trunk/lib/Target/PowerPC/InstPrinter: PPCInstPrinter.cpp PPCInstPrinter.h

Chris Lattner sabre at nondot.org
Sun Nov 14 13:54:34 PST 2010


Author: lattner
Date: Sun Nov 14 15:54:34 2010
New Revision: 119083

URL: http://llvm.org/viewvc/llvm-project?rev=119083&view=rev
Log:
make the stubbed-out printer methods abort instead of 
printing nothing.  This gets us back up to 24 failures.

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

Modified: llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp?rev=119083&r1=119082&r2=119083&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp Sun Nov 14 15:54:34 2010
@@ -282,3 +282,18 @@
   else
     printOperand(MI, OpNo, O);
 }
+
+
+void PPCInstPrinter::PrintSpecial(const MCInst *MI, raw_ostream &O,
+                                  const char *Modifier) {
+  assert(0 && "FIXME: PrintSpecial should be dead");
+}
+void PPCInstPrinter::printPICLabel(const MCInst *MI, unsigned OpNo,
+                                   raw_ostream &O) {
+  assert(0 && "FIXME: printPICLabel should be dead");
+}
+void PPCInstPrinter::printTOCEntryLabel(const MCInst *MI, unsigned OpNo,
+                                        raw_ostream &O) {
+  assert(0 && "FIXME: printTOCEntryLabel should be dead");
+}
+

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=119083&r1=119082&r2=119083&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h (original)
+++ llvm/trunk/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h Sun Nov 14 15:54:34 2010
@@ -64,11 +64,11 @@
   void printMemRegReg(const MCInst *MI, unsigned OpNo, raw_ostream &O);
   
   // FIXME: Remove
-  void PrintSpecial(const MCInst *MI, raw_ostream &O, const char *Modifier) {}
+  void PrintSpecial(const MCInst *MI, raw_ostream &O, const char *Modifier);
   void printSymbolLo(const MCInst *MI, unsigned OpNo, raw_ostream &O);
   void printSymbolHi(const MCInst *MI, unsigned OpNo, raw_ostream &O);
-  void printPICLabel(const MCInst *MI, unsigned OpNo, raw_ostream &O) {}
-  void printTOCEntryLabel(const MCInst *MI, unsigned OpNo, raw_ostream &O) {}
+  void printPICLabel(const MCInst *MI, unsigned OpNo, raw_ostream &O);
+  void printTOCEntryLabel(const MCInst *MI, unsigned OpNo, raw_ostream &O);
   
 };
 } // end namespace llvm





More information about the llvm-commits mailing list