@@ -42,7 +42,7 @@ class M68kAsmParser : public MCTargetAsmParser {
42
42
bool invalidOperand (SMLoc Loc, const OperandVector &Operands,
43
43
const uint64_t &ErrorInfo);
44
44
bool missingFeature (SMLoc Loc, const uint64_t &ErrorInfo);
45
- bool emit (MCInst &Inst, SMLoc const & Loc, MCStreamer &Out) const ;
45
+ bool emit (MCInst &Inst, SMLoc Loc, MCStreamer &Out) const ;
46
46
bool parseRegisterName (MCRegister &RegNo, SMLoc Loc, StringRef RegisterName);
47
47
ParseStatus parseRegister (MCRegister &RegNo);
48
48
@@ -991,8 +991,7 @@ bool M68kAsmParser::parseInstruction(ParseInstructionInfo &Info, StringRef Name,
991
991
return false ;
992
992
}
993
993
994
- bool M68kAsmParser::invalidOperand (SMLoc const &Loc,
995
- OperandVector const &Operands,
994
+ bool M68kAsmParser::invalidOperand (SMLoc Loc, OperandVector const &Operands,
996
995
uint64_t const &ErrorInfo) {
997
996
SMLoc ErrorLoc = Loc;
998
997
char const *Diag = 0 ;
@@ -1015,13 +1014,11 @@ bool M68kAsmParser::invalidOperand(SMLoc const &Loc,
1015
1014
return Error (ErrorLoc, Diag);
1016
1015
}
1017
1016
1018
- bool M68kAsmParser::missingFeature (llvm::SMLoc const &Loc,
1019
- uint64_t const &ErrorInfo) {
1017
+ bool M68kAsmParser::missingFeature (SMLoc Loc, uint64_t const &ErrorInfo) {
1020
1018
return Error (Loc, " instruction requires a CPU feature not currently enabled" );
1021
1019
}
1022
1020
1023
- bool M68kAsmParser::emit (MCInst &Inst, SMLoc const &Loc,
1024
- MCStreamer &Out) const {
1021
+ bool M68kAsmParser::emit (MCInst &Inst, SMLoc Loc, MCStreamer &Out) const {
1025
1022
Inst.setLoc (Loc);
1026
1023
Out.emitInstruction (Inst, *STI);
1027
1024
0 commit comments