llvm.org GIT mirror llvm / 87b7793
Remove unused MCSubtargetInfo argument from the ARM MCInstPrinter ctors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233609 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 5 years ago
3 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
5858 }
5959
6060 ARMInstPrinter::ARMInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
61 const MCRegisterInfo &MRI,
62 const MCSubtargetInfo &STI)
61 const MCRegisterInfo &MRI)
6362 : MCInstPrinter(MAI, MII, MRI) {}
6463
6564 void ARMInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
2323 class ARMInstPrinter : public MCInstPrinter {
2424 public:
2525 ARMInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
26 const MCRegisterInfo &MRI, const MCSubtargetInfo &STI);
26 const MCRegisterInfo &MRI);
2727
2828 void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot,
2929 const MCSubtargetInfo &STI) override;
328328 const MCRegisterInfo &MRI,
329329 const MCSubtargetInfo &STI) {
330330 if (SyntaxVariant == 0)
331 return new ARMInstPrinter(MAI, MII, MRI, STI);
331 return new ARMInstPrinter(MAI, MII, MRI);
332332 return nullptr;
333333 }
334334