diff options
-rw-r--r-- | lib/AsmParser/LLLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index 310ea5b..25b532f 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/lib/AsmParser/LLLexer.cpp @@ -93,7 +93,7 @@ static void HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]){ else if (C >= 'a' && C <= 'f') Pair[1] += C-'a'+10; } - if (*Buffer) + if (Buffer != End) GenerateError("constant bigger than 128 bits detected!"); } |