summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-14 04:51:44 +0000
committerChris Lattner <sabre@nondot.org>2004-09-14 04:51:44 +0000
commit730cfe431a87d2db28ac311764cf2008db4ac323 (patch)
tree94e8859a4cc21848075d83e3244a08097969130f /llvm/lib/VMCore/AsmWriter.cpp
parente8e81a29411f70b27badf9c4f8602c60755a33d8 (diff)
downloadbcm5719-llvm-730cfe431a87d2db28ac311764cf2008db4ac323.tar.gz
bcm5719-llvm-730cfe431a87d2db28ac311764cf2008db4ac323.zip
Don't print newlines between each library in the deplibs list.
llvm-svn: 16331
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 7f862dfbc59..ea194772198 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -765,15 +765,15 @@ void AssemblyWriter::printModule(const Module *M) {
Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
// Loop over the dependent libraries and emit them
- Module::lib_iterator LI= M->lib_begin();
- Module::lib_iterator LE= M->lib_end();
+ Module::lib_iterator LI = M->lib_begin();
+ Module::lib_iterator LE = M->lib_end();
if (LI != LE) {
- Out << "deplibs = [\n";
- while ( LI != LE ) {
+ Out << "deplibs = [ ";
+ while (LI != LE) {
Out << "\"" << *LI << "\"";
++LI;
- if ( LI != LE )
- Out << ",\n";
+ if (LI != LE)
+ Out << ", ";
}
Out << " ]\n";
}
OpenPOWER on IntegriCloud