Remove unused MCSubtargetInfo argument from the X86 MCInstPrinter ctors.

llvm-svn: 233614
This commit is contained in:
Eric Christopher 2015-03-30 22:16:37 +00:00
parent 16d03bd051
commit 9c1bd05949
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class MCOperand;
class X86ATTInstPrinter final : public MCInstPrinter {
public:
X86ATTInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
const MCRegisterInfo &MRI)
: MCInstPrinter(MAI, MII, MRI) {}
void printRegName(raw_ostream &OS, unsigned RegNo) const override;

View File

@ -213,7 +213,7 @@ static MCInstPrinter *createX86MCInstPrinter(unsigned SyntaxVariant,
const MCRegisterInfo &MRI,
const MCSubtargetInfo &STI) {
if (SyntaxVariant == 0)
return new X86ATTInstPrinter(MAI, MII, MRI, STI);
return new X86ATTInstPrinter(MAI, MII, MRI);
if (SyntaxVariant == 1)
return new X86IntelInstPrinter(MAI, MII, MRI);
return nullptr;