summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.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/X86/InstPrinter/X86IntelInstPrinter.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/X86/InstPrinter/X86IntelInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
index e37a477b155..4ea662cbe0c 100644
--- a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
+++ b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
@@ -41,9 +41,6 @@ void X86IntelInstPrinter::printInst(const MCInst *MI, raw_ostream &OS,
if (CommentStream)
EmitAnyX86InstComments(MI, *CommentStream, getRegisterName);
}
-StringRef X86IntelInstPrinter::getOpcodeName(unsigned Opcode) const {
- return MII.getName(Opcode);
-}
void X86IntelInstPrinter::printSSECC(const MCInst *MI, unsigned Op,
raw_ostream &O) {
OpenPOWER on IntegriCloud