diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 21:54:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 21:54:34 +0000 |
commit | cfb62874873b3fb252d8e53cf8798821323b33d7 (patch) | |
tree | 7b10cc998a71da583e701d18eb38c6f991fea3e5 /llvm/lib/Target | |
parent | f2cb69cb04281a77cb43906dbb7a28f3da869881 (diff) | |
download | bcm5719-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
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 15 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h | 6 |
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 |