Fix missing whitespace in the printing of function notes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-09-26 22:02:59 +00:00
parent 7810bfed55
commit 533d3b3f37

View File

@ -1413,7 +1413,7 @@ void AssemblyWriter::printFunction(const Function *F) {
bool insideNotes = false;
if (F->hasNote(Attribute::AlwaysInline)) {
Out << "notes(";
Out << " notes(";
insideNotes = true;
Out << "inline=always";
}
@ -1421,7 +1421,7 @@ void AssemblyWriter::printFunction(const Function *F) {
if (insideNotes)
Out << ",";
else {
Out << "notes(";
Out << " notes(";
insideNotes = true;
}
Out << "inline=never";
@ -1430,7 +1430,7 @@ void AssemblyWriter::printFunction(const Function *F) {
if (insideNotes)
Out << ",";
else {
Out << "notes(";
Out << " notes(";
insideNotes = true;
}
Out << "opt_size";