mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 15:33:16 +00:00
Fixed the AT&T AsmLexer to report the proper strings
for register tokens. Before, if it encountered '%al,' it would report 'al,' as the token. Now it correctly reports '%al'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
017ec35e28
commit
3bdbdd06c8
@ -72,7 +72,7 @@ public:
|
||||
static unsigned MatchRegisterName(const StringRef &Name);
|
||||
|
||||
AsmToken X86AsmLexer::LexTokenATT() {
|
||||
const AsmToken &lexedToken = lexDefinite();
|
||||
const AsmToken lexedToken = lexDefinite();
|
||||
|
||||
switch (lexedToken.getKind()) {
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user