diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-15 03:48:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-15 03:48:58 +0000 |
commit | ab638645647bef87ffe8d545fbcb1b69d3af45ce (patch) | |
tree | 94bc5d761028e554904c0e6378aaf31e21ffa104 /lib/Target/PowerPC/InstPrinter | |
parent | 374c608fcac7fd550ce0cb1826355849a5e015be (diff) | |
download | external_llvm-ab638645647bef87ffe8d545fbcb1b69d3af45ce.zip external_llvm-ab638645647bef87ffe8d545fbcb1b69d3af45ce.tar.gz external_llvm-ab638645647bef87ffe8d545fbcb1b69d3af45ce.tar.bz2 |
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
Diffstat (limited to 'lib/Target/PowerPC/InstPrinter')
-rw-r--r-- | lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 13 | ||||
-rw-r--r-- | lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index 0af16cf..1cd3f00 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 abdc253..aa66854 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 |