mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Remove unused MCSubtargetInfo argument from the X86 MCInstPrinter ctors.
llvm-svn: 233614
This commit is contained in:
parent
bf919ef6ab
commit
cd7b8759a0
@ -24,7 +24,7 @@ class MCOperand;
|
||||
class X86ATTInstPrinter final : public MCInstPrinter {
|
||||
public:
|
||||
X86ATTInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
|
||||
const MCRegisterInfo &MRI)
|
||||
: MCInstPrinter(MAI, MII, MRI) {}
|
||||
|
||||
void printRegName(raw_ostream &OS, unsigned RegNo) const override;
|
||||
|
@ -213,7 +213,7 @@ static MCInstPrinter *createX86MCInstPrinter(unsigned SyntaxVariant,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI) {
|
||||
if (SyntaxVariant == 0)
|
||||
return new X86ATTInstPrinter(MAI, MII, MRI, STI);
|
||||
return new X86ATTInstPrinter(MAI, MII, MRI);
|
||||
if (SyntaxVariant == 1)
|
||||
return new X86IntelInstPrinter(MAI, MII, MRI);
|
||||
return nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user