mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Remove unused MCSubtargetInfo argument from the AArch64 MCInstPrinter ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c60a4e36b
commit
cdd8ee38ea
@ -34,15 +34,13 @@ using namespace llvm;
|
||||
|
||||
AArch64InstPrinter::AArch64InstPrinter(const MCAsmInfo &MAI,
|
||||
const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI)
|
||||
const MCRegisterInfo &MRI)
|
||||
: MCInstPrinter(MAI, MII, MRI) {}
|
||||
|
||||
AArch64AppleInstPrinter::AArch64AppleInstPrinter(const MCAsmInfo &MAI,
|
||||
const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI)
|
||||
: AArch64InstPrinter(MAI, MII, MRI, STI) {}
|
||||
const MCRegisterInfo &MRI)
|
||||
: AArch64InstPrinter(MAI, MII, MRI) {}
|
||||
|
||||
void AArch64InstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
|
||||
// This is for .cfi directives.
|
||||
|
@ -26,7 +26,7 @@ class MCOperand;
|
||||
class AArch64InstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
AArch64InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI, const MCSubtargetInfo &STI);
|
||||
const MCRegisterInfo &MRI);
|
||||
|
||||
void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot,
|
||||
const MCSubtargetInfo &STI) override;
|
||||
@ -158,8 +158,7 @@ protected:
|
||||
class AArch64AppleInstPrinter : public AArch64InstPrinter {
|
||||
public:
|
||||
AArch64AppleInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI);
|
||||
const MCRegisterInfo &MRI);
|
||||
|
||||
void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot,
|
||||
const MCSubtargetInfo &STI) override;
|
||||
|
@ -115,9 +115,9 @@ static MCInstPrinter *createAArch64MCInstPrinter(unsigned SyntaxVariant,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI) {
|
||||
if (SyntaxVariant == 0)
|
||||
return new AArch64InstPrinter(MAI, MII, MRI, STI);
|
||||
return new AArch64InstPrinter(MAI, MII, MRI);
|
||||
if (SyntaxVariant == 1)
|
||||
return new AArch64AppleInstPrinter(MAI, MII, MRI, STI);
|
||||
return new AArch64AppleInstPrinter(MAI, MII, MRI);
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user