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
This commit is contained in:
Chris Lattner 2010-11-14 21:54:34 +00:00
parent b2e477f546
commit 959fb3dd5c
2 changed files with 18 additions and 3 deletions

View File

@ -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");
}

View File

@ -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