Single characters should be printed out as chars, not strings.
llvm-svn: 20515
diff --git a/llvm/lib/Target/CBackend/Writer.cpp b/llvm/lib/Target/CBackend/Writer.cpp
index 683e42b..57de4e5 100644
--- a/llvm/lib/Target/CBackend/Writer.cpp
+++ b/llvm/lib/Target/CBackend/Writer.cpp
@@ -1683,7 +1683,7 @@
writeOperand(I.getOperand(0));
if (I.isVolatile())
- Out << ")";
+ Out << ')';
}
void CWriter::visitStoreInst(StoreInst &I) {
@@ -1694,7 +1694,7 @@
Out << " volatile*)";
}
writeOperand(I.getPointerOperand());
- if (I.isVolatile()) Out << ")";
+ if (I.isVolatile()) Out << ')';
Out << " = ";
writeOperand(I.getOperand(0));
}