X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FX86%2FX86MCInstLower.h;h=021007239128efdee73b44b8ef5b3bc4659cf21b;hb=0be938e38916cecd4d3406c8531a341b2e1c9ec5;hp=0d493c4b47eb3a0ec5e211f92a26ce25207b17a2;hpb=6e8154354fd879d64c2406131370d61a6b123103;p=oota-llvm.git diff --git a/lib/Target/X86/X86MCInstLower.h b/lib/Target/X86/X86MCInstLower.h index 0d493c4b47e..02100723912 100644 --- a/lib/Target/X86/X86MCInstLower.h +++ b/lib/Target/X86/X86MCInstLower.h @@ -33,18 +33,13 @@ 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; - MCSymbol *GetPICBaseSymbol() const; - MCSymbol *GetSymbolFromOperand(const MachineOperand &MO) const; MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;