OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017ec35
)
Fixed the AT&T AsmLexer to report the proper strings
author
Sean Callanan
<scallanan@apple.com>
Mon, 8 Feb 2010 22:50:23 +0000
(22:50 +0000)
committer
Sean Callanan
<scallanan@apple.com>
Mon, 8 Feb 2010 22:50:23 +0000
(22:50 +0000)
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
lib/Target/X86/AsmParser/X86AsmLexer.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/AsmParser/X86AsmLexer.cpp
b/lib/Target/X86/AsmParser/X86AsmLexer.cpp
index
7197217
..
d707516
100644
(file)
--- a/
lib/Target/X86/AsmParser/X86AsmLexer.cpp
+++ b/
lib/Target/X86/AsmParser/X86AsmLexer.cpp
@@
-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: