diff options
author | Chris Lattner <sabre@nondot.org> | 2004-09-14 04:51:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-09-14 04:51:44 +0000 |
commit | 730cfe431a87d2db28ac311764cf2008db4ac323 (patch) | |
tree | 94e8859a4cc21848075d83e3244a08097969130f /llvm/lib/VMCore/AsmWriter.cpp | |
parent | e8e81a29411f70b27badf9c4f8602c60755a33d8 (diff) | |
download | bcm5719-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.cpp | 12 |
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"; } |