Remove unused MCSubtargetInfo argument from the Sparc MCInstPrinter ctors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2015-03-30 22:09:43 +00:00
parent c94e8e8a81
commit 5bd9d1e811
2 changed files with 4 additions and 6 deletions

View File

@ -23,11 +23,9 @@ class MCOperand;
class SparcInstPrinter : public MCInstPrinter { class SparcInstPrinter : public MCInstPrinter {
public: public:
SparcInstPrinter(const MCAsmInfo &MAI, SparcInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
const MCInstrInfo &MII, const MCRegisterInfo &MRI)
const MCRegisterInfo &MRI, : MCInstPrinter(MAI, MII, MRI) {}
const MCSubtargetInfo &sti)
: MCInstPrinter(MAI, MII, MRI) {}
void printRegName(raw_ostream &OS, unsigned RegNo) const override; void printRegName(raw_ostream &OS, unsigned RegNo) const override;
void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot, void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot,

View File

@ -139,7 +139,7 @@ static MCInstPrinter *createSparcMCInstPrinter(unsigned SyntaxVariant,
const MCInstrInfo &MII, const MCInstrInfo &MII,
const MCRegisterInfo &MRI, const MCRegisterInfo &MRI,
const MCSubtargetInfo &STI) { const MCSubtargetInfo &STI) {
return new SparcInstPrinter(MAI, MII, MRI, STI); return new SparcInstPrinter(MAI, MII, MRI);
} }
extern "C" void LLVMInitializeSparcTargetMC() { extern "C" void LLVMInitializeSparcTargetMC() {