summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-14 21:54:34 +0000
committerChris Lattner <sabre@nondot.org>2010-11-14 21:54:34 +0000
commitcfb62874873b3fb252d8e53cf8798821323b33d7 (patch)
tree7b10cc998a71da583e701d18eb38c6f991fea3e5
parentf2cb69cb04281a77cb43906dbb7a28f3da869881 (diff)
downloadbcm5719-llvm-cfb62874873b3fb252d8e53cf8798821323b33d7.tar.gz
bcm5719-llvm-cfb62874873b3fb252d8e53cf8798821323b33d7.zip
make the stubbed-out printer methods abort instead of
printing nothing. This gets us back up to 24 failures. llvm-svn: 119083
-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