summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-04-02 08:32:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-04-02 08:32:38 +0000
commit1c0541b0313e722e8364e6b42292698a8da97f27 (patch)
treea13cc390181eb172fac704f5120360ee183e156f /llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
parent4de7373862e51f47bdfe78640943f55a152c1dae (diff)
downloadbcm5719-llvm-1c0541b0313e722e8364e6b42292698a8da97f27.tar.gz
bcm5719-llvm-1c0541b0313e722e8364e6b42292698a8da97f27.zip
Move getOpcodeName from the various target InstPrinters into the superclass MCInstPrinter.
All implementations used the same code. llvm-svn: 153866
Diffstat (limited to 'llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
index 67908227426..6886b174524 100644
--- a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
+++ b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
@@ -62,10 +62,6 @@ const char* Mips::MipsFCCToString(Mips::CondCode CC) {
llvm_unreachable("Impossible condition code!");
}
-StringRef MipsInstPrinter::getOpcodeName(unsigned Opcode) const {
- return MII.getName(Opcode);
-}
-
void MipsInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
OS << '$' << StringRef(getRegisterName(RegNo)).lower();
}
OpenPOWER on IntegriCloud