summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp15
-rw-r--r--llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h6
2 files changed, 18 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
index 607eb4fb2d6..22907f52da7 100644
--- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
@@ -282,3 +282,18 @@ void PPCInstPrinter::printSymbolHi(const MCInst *MI, unsigned OpNo,
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");
+}
+
diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
index b29a2f4c16e..abdc25349d3 100644
--- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
+++ b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
@@ -64,11 +64,11 @@ public:
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
OpenPOWER on IntegriCloud