diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-12-01 03:45:07 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-12-01 03:45:07 +0000 |
| commit | d0d1329fc86f0fd30e296fd25594df0888757872 (patch) | |
| tree | 5789755381d64bf0559454a195b24ca9cf67eba3 /llvm/lib/Target/ARM/ARMMCInstLower.cpp | |
| parent | 87106c59edbd97b08207cc145f78be7b99d1cabc (diff) | |
| download | bcm5719-llvm-d0d1329fc86f0fd30e296fd25594df0888757872.tar.gz bcm5719-llvm-d0d1329fc86f0fd30e296fd25594df0888757872.zip | |
Move the ARMAsmPrinter class defintiion into a header file.
llvm-svn: 120551
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMCInstLower.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMMCInstLower.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCInstLower.cpp b/llvm/lib/Target/ARM/ARMMCInstLower.cpp index 5a8fc5cdc08..78bb22e8a5c 100644 --- a/llvm/lib/Target/ARM/ARMMCInstLower.cpp +++ b/llvm/lib/Target/ARM/ARMMCInstLower.cpp @@ -13,7 +13,7 @@ //===----------------------------------------------------------------------===// #include "ARM.h" -#include "llvm/CodeGen/AsmPrinter.h" +#include "ARMAsmPrinter.h" #include "llvm/Constants.h" #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/MC/MCExpr.h" @@ -23,7 +23,7 @@ using namespace llvm; static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, - AsmPrinter &Printer) { + ARMAsmPrinter &Printer) { MCContext &Ctx = Printer.OutContext; const MCExpr *Expr; switch (MO.getTargetFlags()) { @@ -51,7 +51,7 @@ static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, } void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, - AsmPrinter &AP) { + ARMAsmPrinter &AP) { OutMI.setOpcode(MI->getOpcode()); for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { |

