diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 89ed2ad021a..fa869db6aa3 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -2379,7 +2379,9 @@ void CWriter::visitInlineAsm(CallInst &CI) { if (I + 1 != E) Out << ","; } - Out << "\n :" << (Clobber.size() ? Clobber.substr(1) : "") << ")\n"; + if (Clobber.size()) + Out << "\n :" << Clobber.substr(1); + Out << ")"; } void CWriter::visitMallocInst(MallocInst &I) {