X86MCInstLower now depends on AsmPrinter being around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109154 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@
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;