Replace the MCSubtargetInfo parameter with a Triple when creating

an MCInstPrinter. Update all callers and use where we wanted a Triple
previously.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2015-03-31 00:10:04 +00:00
parent 6dd9e8563b
commit e2424b02b2
21 changed files with 60 additions and 63 deletions

View File

@@ -97,11 +97,11 @@ static MCCodeGenInfo *createMipsMCCodeGenInfo(StringRef TT, Reloc::Model RM,
return X;
}
static MCInstPrinter *createMipsMCInstPrinter(unsigned SyntaxVariant,
static MCInstPrinter *createMipsMCInstPrinter(const Triple &T,
unsigned SyntaxVariant,
const MCAsmInfo &MAI,
const MCInstrInfo &MII,
const MCRegisterInfo &MRI,
const MCSubtargetInfo &STI) {
const MCRegisterInfo &MRI) {
return new MipsInstPrinter(MAI, MII, MRI);
}