Skip to content

Commit e01cefd

Browse files
committed
[Sparc] Remove unused parameter (NFC)
1 parent 6e20519 commit e01cefd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ class SparcAsmParser : public MCTargetAsmParser {
101101

102102
ParseStatus parseOperand(OperandVector &Operands, StringRef Name);
103103

104-
ParseStatus parseSparcAsmOperand(std::unique_ptr<SparcOperand> &Operand,
105-
bool isCall = false);
104+
ParseStatus parseSparcAsmOperand(std::unique_ptr<SparcOperand> &Operand);
106105

107106
ParseStatus parseBranchModifiers(OperandVector &Operands);
108107

@@ -1430,7 +1429,7 @@ ParseStatus SparcAsmParser::parseOperand(OperandVector &Operands,
14301429

14311430
std::unique_ptr<SparcOperand> Op;
14321431

1433-
Res = parseSparcAsmOperand(Op, (Mnemonic == "call"));
1432+
Res = parseSparcAsmOperand(Op);
14341433
if (!Res.isSuccess() || !Op)
14351434
return ParseStatus::Failure;
14361435

@@ -1441,8 +1440,7 @@ ParseStatus SparcAsmParser::parseOperand(OperandVector &Operands,
14411440
}
14421441

14431442
ParseStatus
1444-
SparcAsmParser::parseSparcAsmOperand(std::unique_ptr<SparcOperand> &Op,
1445-
bool isCall) {
1443+
SparcAsmParser::parseSparcAsmOperand(std::unique_ptr<SparcOperand> &Op) {
14461444
SMLoc S = Parser.getTok().getLoc();
14471445
SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
14481446
const MCExpr *EVal;

0 commit comments

Comments
 (0)