wire up ARM's printMCInst method. Now llvm-mc should be able to produce

"something" when printing MCInsts, it will just be missing all the 
operand info.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-10-19 19:59:05 +00:00
parent fd60382e75
commit 6a71afaec1

View File

@ -17,6 +17,7 @@
#include "ARMAddressingModes.h"
#include "ARMConstantPoolValue.h"
#include "ARMMachineFunctionInfo.h"
#include "ARMInstPrinter.h"
#include "llvm/Constants.h"
#include "llvm/Module.h"
#include "llvm/Assembly/Writer.h"
@ -73,6 +74,10 @@ namespace {
virtual const char *getPassName() const {
return "ARM Assembly Printer";
}
void printMCInst(const MCInst *MI) {
ARMInstPrinter(O, *MAI).printInstruction(MI);
}
void printOperand(const MachineInstr *MI, int OpNum,
const char *Modifier = 0);