[llvm-commits] [llvm] r55742 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Devang Patel
dpatel at apple.com
Wed Sep 3 15:55:40 PDT 2008
Author: dpatel
Date: Wed Sep 3 17:55:40 2008
New Revision: 55742
URL: http://llvm.org/viewvc/llvm-project?rev=55742&view=rev
Log:
Avoid extra comma.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=55742&r1=55741&r2=55742&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Wed Sep 3 17:55:40 2008
@@ -1407,10 +1407,11 @@
NeedComma = true;
Out << "inline=never";
}
- if (NeedComma)
- Out << ",";
- if (FNotes & FN_NOTE_OptimizeForSize)
+ if (FNotes & FN_NOTE_OptimizeForSize) {
+ if (NeedComma)
+ Out << ",";
Out << "opt_size";
+ }
Out << ")";
}
if (F->isDeclaration()) {
More information about the llvm-commits
mailing list