summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.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
commitdab9e35ad05afef53e15e57462a0b85943a64735 (patch)
tree7644363a90d1bc291d5bdfa7aa21a930f3f90ecb /llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
parent8e52bdce7bea9e9b0ad99768a2d902d3590e4188 (diff)
downloadbcm5719-llvm-dab9e35ad05afef53e15e57462a0b85943a64735.tar.gz
bcm5719-llvm-dab9e35ad05afef53e15e57462a0b85943a64735.zip
Remove getInstructionName from MCInstPrinter implementations in favor of using the instruction name table from MCInstrInfo. Reduces static data in the InstPrinter implementations.
llvm-svn: 153863
Diffstat (limited to 'llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h')
-rw-r--r--llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h b/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
index af72c890096..568b7940a76 100644
--- a/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
+++ b/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
@@ -37,7 +37,6 @@ public:
// Autogenerated by tblgen.
void printInstruction(const MCInst *MI, raw_ostream &OS);
static const char *getRegisterName(unsigned RegNo);
- static const char *getInstructionName(unsigned Opcode);
void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &OS);
OpenPOWER on IntegriCloud