Fix bug: test/Regression/Assembler/2002-07-25-QuoteInString.llx

llvm-svn: 3099
This commit is contained in:
Chris Lattner 2002-07-25 20:32:37 +00:00
parent 03e0499931
commit 5fa3a4429f
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ static void WriteConstantInt(ostream &Out, const Constant *CV, bool PrintName,
(unsigned char)cast<ConstantSInt>(CA->getOperand(i))->getValue() :
(unsigned char)cast<ConstantUInt>(CA->getOperand(i))->getValue();
if (isprint(C)) {
if (isprint(C) && C != '"') {
Out << C;
} else {
Out << '\\'