diff options
author | Eric Christopher <echristo@gmail.com> | 2016-09-16 17:07:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2016-09-16 17:07:23 +0000 |
commit | b0ee4e04b33c9689e8eb6885e6c93e20e06934e0 (patch) | |
tree | 6d775a93b36a2b48a4bf3b1f2293332c365f177b /llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp | |
parent | dd7d68da584d158bb16210cb80bb66cf3c5829ff (diff) | |
download | bcm5719-llvm-b0ee4e04b33c9689e8eb6885e6c93e20e06934e0.tar.gz bcm5719-llvm-b0ee4e04b33c9689e8eb6885e6c93e20e06934e0.zip |
Actually remove the Mangler from the AsmPrinter and clean up the places it was "used" but not used.
llvm-svn: 281749
Diffstat (limited to 'llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp b/llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp index 9d39cef9f8e..35bf5144de9 100644 --- a/llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp +++ b/llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp @@ -151,7 +151,7 @@ void LanaiAsmPrinter::emitCallInstruction(const MachineInstr *MI) { assert((MI->getOpcode() == Lanai::CALL || MI->getOpcode() == Lanai::CALLR) && "Unsupported call function"); - LanaiMCInstLower MCInstLowering(OutContext, *Mang, *this); + LanaiMCInstLower MCInstLowering(OutContext, *this); MCSubtargetInfo STI = getSubtargetInfo(); // Insert save rca instruction immediately before the call. // TODO: We should generate a pc-relative mov instruction here instead @@ -188,7 +188,7 @@ void LanaiAsmPrinter::emitCallInstruction(const MachineInstr *MI) { } void LanaiAsmPrinter::customEmitInstruction(const MachineInstr *MI) { - LanaiMCInstLower MCInstLowering(OutContext, *Mang, *this); + LanaiMCInstLower MCInstLowering(OutContext, *this); MCSubtargetInfo STI = getSubtargetInfo(); MCInst TmpInst; MCInstLowering.Lower(MI, TmpInst); |