Avoid extra comma.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2008-09-03 22:55:40 +00:00
parent 52e89dd4e2
commit 72ab076e67

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()) {