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 | 959fb3dd5cfaf2aae44321b58ff87dce4632438d (patch) | |
tree | d54182e163bb70de579da117e2f19abc4cf209a0 /lib | |
parent | b2e477f5463795de8265939300fb5c0abfdded77 (diff) | |
download | external_llvm-959fb3dd5cfaf2aae44321b58ff87dce4632438d.zip external_llvm-959fb3dd5cfaf2aae44321b58ff87dce4632438d.tar.gz external_llvm-959fb3dd5cfaf2aae44321b58ff87dce4632438d.tar.bz2 |
make the stubbed-out printer methods abort instead of
printing nothing. This gets us back up to 24 failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 15 | ||||
-rw-r--r-- | lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h | 6 |
2 files changed, 18 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index 607eb4f..22907f5 100644 --- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp +++ b/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/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h index b29a2f4..abdc253 100644 --- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h +++ b/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 |