File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Target/ARM/AsmParser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ class ARMAsmParser : public MCTargetAsmParser {
247
247
}
248
248
249
249
// Map of register aliases registers via the .req directive.
250
- StringMap<unsigned > RegisterReqs;
250
+ StringMap<MCRegister > RegisterReqs;
251
251
252
252
bool NextSymbolIsThumb;
253
253
@@ -4253,7 +4253,7 @@ int ARMAsmParser::tryParseRegister(bool AllowOutOfBoundReg) {
4253
4253
// Check for aliases registered via .req. Canonicalize to lower case.
4254
4254
// That's more consistent since register names are case insensitive, and
4255
4255
// it's how the original entry was passed in from MC/MCParser/AsmParser.
4256
- StringMap< unsigned >::const_iterator Entry = RegisterReqs.find (lowerCase);
4256
+ auto Entry = RegisterReqs.find (lowerCase);
4257
4257
// If no match, return failure.
4258
4258
if (Entry == RegisterReqs.end ())
4259
4259
return -1 ;
You can’t perform that action at this time.
0 commit comments