diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-22 21:10:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-22 21:10:04 +0000 |
commit | 0123c1da3592e99b3fa75c81cdffa20bfc622c12 (patch) | |
tree | 019e124e3a28f82c6356613f29e6e2f3d604d80b /lib/Target/X86/X86MCInstLower.h | |
parent | 456fdaf0cea4bd195eacc9796fedb71b62290cfe (diff) | |
download | external_llvm-0123c1da3592e99b3fa75c81cdffa20bfc622c12.zip external_llvm-0123c1da3592e99b3fa75c81cdffa20bfc622c12.tar.gz external_llvm-0123c1da3592e99b3fa75c81cdffa20bfc622c12.tar.bz2 |
X86MCInstLower now depends on AsmPrinter being around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86MCInstLower.h')
-rw-r--r-- | lib/Target/X86/X86MCInstLower.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Target/X86/X86MCInstLower.h b/lib/Target/X86/X86MCInstLower.h index 0d493c4..539b09b 100644 --- a/lib/Target/X86/X86MCInstLower.h +++ b/lib/Target/X86/X86MCInstLower.h @@ -33,13 +33,10 @@ class LLVM_LIBRARY_VISIBILITY X86MCInstLower { const MachineFunction &MF; const TargetMachine &TM; const MCAsmInfo &MAI; - - /// AsmPrinter - This is the asmprinter when emission is actually happening, - /// or null if an instruction is being lowered for some other reason. - X86AsmPrinter *AsmPrinter; + X86AsmPrinter &AsmPrinter; public: X86MCInstLower(Mangler *mang, const MachineFunction &MF, - X86AsmPrinter *asmprinter); + X86AsmPrinter &asmprinter); void Lower(const MachineInstr *MI, MCInst &OutMI) const; |