Fix bug: test/Regression/Assembler/2002-07-25-QuoteInString.llx
llvm-svn: 3099
This commit is contained in:
parent
03e0499931
commit
5fa3a4429f
|
@ -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 << '\\'
|
||||
|
|
Loading…
Reference in New Issue