File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
llvm/lib/Target/RISCV/AsmParser Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,6 @@ class RISCVAsmParser : public MCTargetAsmParser {
202
202
ParseStatus parseOperandWithSpecifier (OperandVector &Operands);
203
203
ParseStatus parseBareSymbol (OperandVector &Operands);
204
204
ParseStatus parseCallSymbol (OperandVector &Operands);
205
- ParseStatus parsePseudoQCJumpSymbol (OperandVector &Operands);
206
205
ParseStatus parsePseudoJumpSymbol (OperandVector &Operands);
207
206
ParseStatus parseJALOffset (OperandVector &Operands);
208
207
ParseStatus parseVTypeI (OperandVector &Operands);
@@ -2139,23 +2138,6 @@ ParseStatus RISCVAsmParser::parseCallSymbol(OperandVector &Operands) {
2139
2138
return ParseStatus::Success;
2140
2139
}
2141
2140
2142
- ParseStatus RISCVAsmParser::parsePseudoQCJumpSymbol (OperandVector &Operands) {
2143
- SMLoc S = getLoc ();
2144
- const MCExpr *Res;
2145
-
2146
- if (getLexer ().getKind () != AsmToken::Identifier)
2147
- return ParseStatus::NoMatch;
2148
-
2149
- std::string Identifier (getTok ().getIdentifier ());
2150
- SMLoc E = getTok ().getEndLoc ();
2151
- Lex ();
2152
-
2153
- MCSymbol *Sym = getContext ().getOrCreateSymbol (Identifier);
2154
- Res = MCSymbolRefExpr::create (Sym, getContext ());
2155
- Operands.push_back (RISCVOperand::createImm (Res, S, E, isRV64 ()));
2156
- return ParseStatus::Success;
2157
- }
2158
-
2159
2141
ParseStatus RISCVAsmParser::parsePseudoJumpSymbol (OperandVector &Operands) {
2160
2142
SMLoc S = getLoc ();
2161
2143
SMLoc E;
You can’t perform that action at this time.
0 commit comments