unbreak the CBE on treeadd an many others.

llvm-svn: 55112
This commit is contained in:
Chris Lattner 2008-08-21 05:51:43 +00:00
parent d9012655db
commit a87eb40ef4

View File

@ -773,9 +773,9 @@ void CWriter::printConstantArray(ConstantArray *CPA, bool Static) {
if (isprint(C) && (!LastWasHex || !isxdigit(C))) {
LastWasHex = false;
if (C == '"' || C == '\\')
Out << "\\" << C;
Out << "\\" << (char)C;
else
Out << C;
Out << (char)C;
} else {
LastWasHex = false;
switch (C) {