mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
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. llvm-svn: 84528
This commit is contained in:
parent
11fcbad759
commit
d2f263e74f
@ -17,6 +17,7 @@
|
|||||||
#include "ARMAddressingModes.h"
|
#include "ARMAddressingModes.h"
|
||||||
#include "ARMConstantPoolValue.h"
|
#include "ARMConstantPoolValue.h"
|
||||||
#include "ARMMachineFunctionInfo.h"
|
#include "ARMMachineFunctionInfo.h"
|
||||||
|
#include "ARMInstPrinter.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/Constants.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
#include "llvm/Assembly/Writer.h"
|
#include "llvm/Assembly/Writer.h"
|
||||||
@ -73,6 +74,10 @@ namespace {
|
|||||||
virtual const char *getPassName() const {
|
virtual const char *getPassName() const {
|
||||||
return "ARM Assembly Printer";
|
return "ARM Assembly Printer";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void printMCInst(const MCInst *MI) {
|
||||||
|
ARMInstPrinter(O, *MAI).printInstruction(MI);
|
||||||
|
}
|
||||||
|
|
||||||
void printOperand(const MachineInstr *MI, int OpNum,
|
void printOperand(const MachineInstr *MI, int OpNum,
|
||||||
const char *Modifier = 0);
|
const char *Modifier = 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user