From ab638645647bef87ffe8d545fbcb1b69d3af45ce Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Nov 2010 03:48:58 +0000 Subject: remove asmstrings (which can never be printed) from pseudo instructions, allowing is to eliminate some dead operand printing methods from the instprinter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119113 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 13 ------------- lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h | 4 ---- 2 files changed, 17 deletions(-) (limited to 'lib/Target/PowerPC/InstPrinter') diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index 0af16cfc8e..1cd3f00f20 100644 --- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp +++ b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp @@ -302,16 +302,3 @@ void PPCInstPrinter::printSymbolHi(const MCInst *MI, unsigned OpNo, } -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 abdc25349d..aa66854451 100644 --- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h +++ b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h @@ -64,12 +64,8 @@ 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 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); - }; } // end namespace llvm -- cgit v1.2.3