aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-04-02 07:01:04 +0000
committerCraig Topper <craig.topper@gmail.com>2012-04-02 07:01:04 +0000
commit7c0b3c1fb6395475e262d66ee403645f0c67dee2 (patch)
treecb2843c4c4600b3e174f91cbda2a8b656f26bcb8 /lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
parent79e22d8c45369e662ea92853f803341cdbfd77be (diff)
downloadexternal_llvm-7c0b3c1fb6395475e262d66ee403645f0c67dee2.zip
external_llvm-7c0b3c1fb6395475e262d66ee403645f0c67dee2.tar.gz
external_llvm-7c0b3c1fb6395475e262d66ee403645f0c67dee2.tar.bz2
Remove getInstructionName from MCInstPrinter implementations in favor of using the instruction name table from MCInstrInfo. Reduces static data in the InstPrinter implementations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h')
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
index 461aaf0..d4d3929 100644
--- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
+++ b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
@@ -36,8 +36,6 @@ public:
virtual void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot);
virtual StringRef getOpcodeName(unsigned Opcode) const;
- static const char *getInstructionName(unsigned Opcode);
-
// Autogenerated by tblgen.
void printInstruction(const MCInst *MI, raw_ostream &O);
static const char *getRegisterName(unsigned RegNo);