summaryrefslogtreecommitdiff
path: root/lib/Target/MBlaze
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/MBlaze
parent79e22d8c45369e662ea92853f803341cdbfd77be (diff)
downloadllvm-7c0b3c1fb6395475e262d66ee403645f0c67dee2.tar.gz
llvm-7c0b3c1fb6395475e262d66ee403645f0c67dee2.tar.bz2
llvm-7c0b3c1fb6395475e262d66ee403645f0c67dee2.tar.xz
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/MBlaze')
-rw-r--r--lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h b/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h
index e34e4b3a8f..51ba7c359a 100644
--- a/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h
+++ b/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h
@@ -30,7 +30,6 @@ namespace llvm {
// Autogenerated by tblgen.
void printInstruction(const MCInst *MI, raw_ostream &O);
static const char *getRegisterName(unsigned RegNo);
- static const char *getInstructionName(unsigned Opcode);
void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O,
const char *Modifier = 0);