summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/InstPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-15 03:48:58 +0000
committerChris Lattner <sabre@nondot.org>2010-11-15 03:48:58 +0000
commitab638645647bef87ffe8d545fbcb1b69d3af45ce (patch)
tree94bc5d761028e554904c0e6378aaf31e21ffa104 /lib/Target/PowerPC/InstPrinter
parent374c608fcac7fd550ce0cb1826355849a5e015be (diff)
downloadllvm-ab638645647bef87ffe8d545fbcb1b69d3af45ce.tar.gz
llvm-ab638645647bef87ffe8d545fbcb1b69d3af45ce.tar.bz2
llvm-ab638645647bef87ffe8d545fbcb1b69d3af45ce.tar.xz
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.cpp13
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h4
2 files changed, 0 insertions, 17 deletions
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