Avoid extra comma.

llvm-svn: 55742
This commit is contained in:
Devang Patel 2008-09-03 22:55:40 +00:00
parent 3771a1281f
commit 397d895bb8
1 changed files with 4 additions and 3 deletions

View File

@ -1407,10 +1407,11 @@ void AssemblyWriter::printFunction(const Function *F) {
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()) {