Remove unused Target argument from MCInstPrinter ctor functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233607 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2015-03-30 21:52:21 +00:00
parent affc406350
commit 1c60a4e36b
15 changed files with 24 additions and 37 deletions

View File

@@ -124,8 +124,7 @@ namespace llvm {
typedef MCDisassembler *(*MCDisassemblerCtorTy)(const Target &T,
const MCSubtargetInfo &STI,
MCContext &Ctx);
typedef MCInstPrinter *(*MCInstPrinterCtorTy)(const Target &T,
unsigned SyntaxVariant,
typedef MCInstPrinter *(*MCInstPrinterCtorTy)(unsigned SyntaxVariant,
const MCAsmInfo &MAI,
const MCInstrInfo &MII,
const MCRegisterInfo &MRI,
@@ -416,7 +415,7 @@ namespace llvm {
const MCSubtargetInfo &STI) const {
if (!MCInstPrinterCtorFn)
return nullptr;
return MCInstPrinterCtorFn(*this, SyntaxVariant, MAI, MII, MRI, STI);
return MCInstPrinterCtorFn(SyntaxVariant, MAI, MII, MRI, STI);
}