mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Remove unused MCSubtargetInfo argument from the NVPTX MCInstPrinter ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35ff67e333
commit
c94e8e8a81
@ -28,11 +28,9 @@ using namespace llvm;
|
|||||||
|
|
||||||
#include "NVPTXGenAsmWriter.inc"
|
#include "NVPTXGenAsmWriter.inc"
|
||||||
|
|
||||||
|
|
||||||
NVPTXInstPrinter::NVPTXInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
NVPTXInstPrinter::NVPTXInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||||
const MCRegisterInfo &MRI,
|
const MCRegisterInfo &MRI)
|
||||||
const MCSubtargetInfo &STI)
|
: MCInstPrinter(MAI, MII, MRI) {}
|
||||||
: MCInstPrinter(MAI, MII, MRI) {}
|
|
||||||
|
|
||||||
void NVPTXInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
|
void NVPTXInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
|
||||||
// Decode the virtual register
|
// Decode the virtual register
|
||||||
|
@ -25,7 +25,7 @@ class MCSubtargetInfo;
|
|||||||
class NVPTXInstPrinter : public MCInstPrinter {
|
class NVPTXInstPrinter : public MCInstPrinter {
|
||||||
public:
|
public:
|
||||||
NVPTXInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
NVPTXInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||||
const MCRegisterInfo &MRI, const MCSubtargetInfo &STI);
|
const MCRegisterInfo &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 &OS, StringRef Annot,
|
void printInst(const MCInst *MI, raw_ostream &OS, StringRef Annot,
|
||||||
|
@ -64,7 +64,7 @@ static MCInstPrinter *createNVPTXMCInstPrinter(unsigned SyntaxVariant,
|
|||||||
const MCRegisterInfo &MRI,
|
const MCRegisterInfo &MRI,
|
||||||
const MCSubtargetInfo &STI) {
|
const MCSubtargetInfo &STI) {
|
||||||
if (SyntaxVariant == 0)
|
if (SyntaxVariant == 0)
|
||||||
return new NVPTXInstPrinter(MAI, MII, MRI, STI);
|
return new NVPTXInstPrinter(MAI, MII, MRI);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user