summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-19 19:59:05 +0000
committerChris Lattner <sabre@nondot.org>2009-10-19 19:59:05 +0000
commit296544e15f1d595fc5fcfb301f8119d9a3d85ff7 (patch)
treee150b2af5482433f77d16a5705737fbcf398b38b /llvm/lib
parenta2907788595fbd2da21fd066c0670af4b08c1215 (diff)
downloadbcm5719-llvm-296544e15f1d595fc5fcfb301f8119d9a3d85ff7.tar.gz
bcm5719-llvm-296544e15f1d595fc5fcfb301f8119d9a3d85ff7.zip
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
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
index 6d4a05f6cbe..9c8c2723b28 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
+++ b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
@@ -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);
OpenPOWER on IntegriCloud