mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Wire up MSP430 printMCInst() method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
680dec703c
commit
1074aae0d1
@ -15,6 +15,7 @@
|
|||||||
#define DEBUG_TYPE "asm-printer"
|
#define DEBUG_TYPE "asm-printer"
|
||||||
#include "MSP430.h"
|
#include "MSP430.h"
|
||||||
#include "MSP430InstrInfo.h"
|
#include "MSP430InstrInfo.h"
|
||||||
|
#include "MSP430InstPrinter.h"
|
||||||
#include "MSP430MCAsmInfo.h"
|
#include "MSP430MCAsmInfo.h"
|
||||||
#include "MSP430TargetMachine.h"
|
#include "MSP430TargetMachine.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/Constants.h"
|
||||||
@ -52,6 +53,9 @@ namespace {
|
|||||||
return "MSP430 Assembly Printer";
|
return "MSP430 Assembly Printer";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void printMCInst(const MCInst *MI) {
|
||||||
|
MSP430InstPrinter(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);
|
||||||
void printSrcMemOperand(const MachineInstr *MI, int OpNum,
|
void printSrcMemOperand(const MachineInstr *MI, int OpNum,
|
||||||
|
Loading…
Reference in New Issue
Block a user