[llvm] r233612 - Remove unused MCSubtargetInfo argument from the Sparc MCInstPrinter ctors.
Eric Christopher
echristo at gmail.com
Mon Mar 30 15:09:43 PDT 2015
Author: echristo
Date: Mon Mar 30 17:09:43 2015
New Revision: 233612
URL: http://llvm.org/viewvc/llvm-project?rev=233612&view=rev
Log:
Remove unused MCSubtargetInfo argument from the Sparc MCInstPrinter ctors.
Modified:
llvm/trunk/lib/Target/Sparc/InstPrinter/SparcInstPrinter.h
llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
Modified: llvm/trunk/lib/Target/Sparc/InstPrinter/SparcInstPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/InstPrinter/SparcInstPrinter.h?rev=233612&r1=233611&r2=233612&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/InstPrinter/SparcInstPrinter.h (original)
+++ llvm/trunk/lib/Target/Sparc/InstPrinter/SparcInstPrinter.h Mon Mar 30 17:09:43 2015
@@ -23,11 +23,9 @@ class MCOperand;
class SparcInstPrinter : public MCInstPrinter {
public:
- SparcInstPrinter(const MCAsmInfo &MAI,
- const MCInstrInfo &MII,
- const MCRegisterInfo &MRI,
- const MCSubtargetInfo &sti)
- : MCInstPrinter(MAI, MII, MRI) {}
+ SparcInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
+ const MCRegisterInfo &MRI)
+ : MCInstPrinter(MAI, MII, MRI) {}
void printRegName(raw_ostream &OS, unsigned RegNo) const override;
void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot,
Modified: llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp?rev=233612&r1=233611&r2=233612&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp Mon Mar 30 17:09:43 2015
@@ -139,7 +139,7 @@ static MCInstPrinter *createSparcMCInstP
const MCInstrInfo &MII,
const MCRegisterInfo &MRI,
const MCSubtargetInfo &STI) {
- return new SparcInstPrinter(MAI, MII, MRI, STI);
+ return new SparcInstPrinter(MAI, MII, MRI);
}
extern "C" void LLVMInitializeSparcTargetMC() {
More information about the llvm-commits
mailing list