From 23ba0c5cf348a4687deb9ee1196a65794b6bd215 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Tue, 8 Mar 2005 00:26:08 +0000 Subject: [PATCH] Single characters should be printed out as chars, not strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20515 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CBackend/CBackend.cpp | 4 ++-- lib/Target/CBackend/Writer.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 683e42bdbc8..57de4e5f770 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -1683,7 +1683,7 @@ void CWriter::visitLoadInst(LoadInst &I) { writeOperand(I.getOperand(0)); if (I.isVolatile()) - Out << ")"; + Out << ')'; } void CWriter::visitStoreInst(StoreInst &I) { @@ -1694,7 +1694,7 @@ void CWriter::visitStoreInst(StoreInst &I) { Out << " volatile*)"; } writeOperand(I.getPointerOperand()); - if (I.isVolatile()) Out << ")"; + if (I.isVolatile()) Out << ')'; Out << " = "; writeOperand(I.getOperand(0)); } diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 683e42bdbc8..57de4e5f770 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -1683,7 +1683,7 @@ void CWriter::visitLoadInst(LoadInst &I) { writeOperand(I.getOperand(0)); if (I.isVolatile()) - Out << ")"; + Out << ')'; } void CWriter::visitStoreInst(StoreInst &I) { @@ -1694,7 +1694,7 @@ void CWriter::visitStoreInst(StoreInst &I) { Out << " volatile*)"; } writeOperand(I.getPointerOperand()); - if (I.isVolatile()) Out << ")"; + if (I.isVolatile()) Out << ')'; Out << " = "; writeOperand(I.getOperand(0)); } -- 2.34.1