mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
c94e8e8a81
commit
5bd9d1e811
@ -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,
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user