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 | baf120fbe8056ef68fc91b16465590fdf2311c27 (patch) | |
tree | 57a2cbfb7e15f3092f554dbb5c88a2e9216ddd4d /lib/Target/ARM/ARMMCInstLower.cpp | |
parent | 5265f22f4558f376dece4744b3fe2ae1c637d223 (diff) | |
download | llvm-baf120fbe8056ef68fc91b16465590fdf2311c27.tar.gz llvm-baf120fbe8056ef68fc91b16465590fdf2311c27.tar.bz2 llvm-baf120fbe8056ef68fc91b16465590fdf2311c27.tar.xz |
Move the ARMAsmPrinter class defintiion into a header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMMCInstLower.cpp')
-rw-r--r-- | lib/Target/ARM/ARMMCInstLower.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMMCInstLower.cpp b/lib/Target/ARM/ARMMCInstLower.cpp index 5a8fc5cdc0..78bb22e8a5 100644 --- a/lib/Target/ARM/ARMMCInstLower.cpp +++ b/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) { |