diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-25 20:32:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-25 20:32:37 +0000 |
commit | 54d10c87157820351827a2f9cff6060b7e69d09d (patch) | |
tree | 786c40ce8672b0d8274111ceeca8ab7e5cb53b2d /lib | |
parent | 1874564482734dcad95b5c72dd683133882c0de7 (diff) |
Fix bug: test/Regression/Assembler/2002-07-25-QuoteInString.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 7aefe32a22..091cda85ca 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -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 << '\\' |