diff options
| author | Quentin Colombet <qcolombet@apple.com> | 2016-03-08 02:00:43 +0000 |
|---|---|---|
| committer | Quentin Colombet <qcolombet@apple.com> | 2016-03-08 02:00:43 +0000 |
| commit | 5e63e78ca9407d0592b5a5c7dbf1017a45d91bf5 (patch) | |
| tree | 62c07004da81d9d598df773807083985826ffaa5 /llvm/lib/CodeGen/MIRParser/MILexer.cpp | |
| parent | dca821683cdf118e95c3f361ffb762f766cb01f1 (diff) | |
| download | bcm5719-llvm-5e63e78ca9407d0592b5a5c7dbf1017a45d91bf5.tar.gz bcm5719-llvm-5e63e78ca9407d0592b5a5c7dbf1017a45d91bf5.zip | |
[MIR] Change the token name for '<' and '>' to be consitent with the LLVM IR parser.
Thanks to Ahmed Bougacha for noticing!
llvm-svn: 262899
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MIRParser/MILexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.cpp b/llvm/lib/CodeGen/MIRParser/MILexer.cpp index 84cf186ca37..16a27ad5d8e 100644 --- a/llvm/lib/CodeGen/MIRParser/MILexer.cpp +++ b/llvm/lib/CodeGen/MIRParser/MILexer.cpp @@ -498,9 +498,9 @@ static MIToken::TokenKind symbolToken(char C) { case '-': return MIToken::minus; case '<': - return MIToken::lt; + return MIToken::less; case '>': - return MIToken::gt; + return MIToken::greater; default: return MIToken::Error; } |

