Skip to content

Commit 4039e14

Browse files
committed
Remove unused modifier argument
1 parent 8013458 commit 4039e14

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,7 @@ void NVPTXInstPrinter::printUsedBytesMaskPragma(const MCInst *MI, int OpNum,
406406
}
407407

408408
void NVPTXInstPrinter::printRegisterOrSinkSymbol(const MCInst *MI, int OpNum,
409-
raw_ostream &O,
410-
const char *Modifier) {
409+
raw_ostream &O) {
411410
const MCOperand &Op = MI->getOperand(OpNum);
412411
if (Op.isReg() && Op.getReg() == MCRegister::NoRegister)
413412
O << "_";

llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ class NVPTXInstPrinter : public MCInstPrinter {
4747
void printMemOperand(const MCInst *MI, int OpNum, raw_ostream &O,
4848
StringRef Modifier = {});
4949
void printUsedBytesMaskPragma(const MCInst *MI, int OpNum, raw_ostream &O);
50-
void printRegisterOrSinkSymbol(const MCInst *MI, int OpNum, raw_ostream &O,
51-
const char *Modifier = nullptr);
50+
void printRegisterOrSinkSymbol(const MCInst *MI, int OpNum, raw_ostream &O);
5251
void printHexu32imm(const MCInst *MI, int OpNum, raw_ostream &O);
5352
void printProtoIdent(const MCInst *MI, int OpNum, raw_ostream &O);
5453
void printPrmtMode(const MCInst *MI, int OpNum, raw_ostream &O);

0 commit comments

Comments
 (0)