MSVC's implementation of isalnum will assert on characters > 255, so we need to use...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 16 Jul 2012 16:18:18 +0000 (16:18 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 16 Jul 2012 16:18:18 +0000 (16:18 +0000)
commit09dab827b2923fd201070fc87df435fabc3abcf7
tree617cb3b3f1555c78b8347b9fcb3fca0343366d5b
parentc0ed3e548c6f688e22685de04e210c7b59ac3433
MSVC's implementation of isalnum will assert on characters > 255, so we need to use an unsigned char to ensure the integer promotion happens properly.  This fixes an assert in debug builds with CodeGen\X86\utf8.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160286 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/AsmWriter.cpp