diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-10-21 00:10:47 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-10-21 00:10:47 +0000 |
commit | 38640dd53e549765a07a47d02f628aeb39593df7 (patch) | |
tree | 7a8dce3548c2f789062758c4a0c56944f706434e | |
parent | 425a93824d9237f0130fffad5d433789cbbec63f (diff) | |
download | external_llvm-38640dd53e549765a07a47d02f628aeb39593df7.zip external_llvm-38640dd53e549765a07a47d02f628aeb39593df7.tar.gz external_llvm-38640dd53e549765a07a47d02f628aeb39593df7.tar.bz2 |
Wire up MSP430 printMCInst() method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84702 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp index 852019f..4a32beb 100644 --- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp +++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp @@ -15,6 +15,7 @@ #define DEBUG_TYPE "asm-printer" #include "MSP430.h" #include "MSP430InstrInfo.h" +#include "MSP430InstPrinter.h" #include "MSP430MCAsmInfo.h" #include "MSP430TargetMachine.h" #include "llvm/Constants.h" @@ -52,6 +53,9 @@ namespace { return "MSP430 Assembly Printer"; } + void printMCInst(const MCInst *MI) { + MSP430InstPrinter(O, *MAI).printInstruction(MI); + } void printOperand(const MachineInstr *MI, int OpNum, const char* Modifier = 0); void printSrcMemOperand(const MachineInstr *MI, int OpNum, |