Fix missing whitespace in the printing of function notes.

llvm-svn: 56702
This commit is contained in:
Dan Gohman 2008-09-26 22:02:59 +00:00
parent 989db64c93
commit a9e963a0b4

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";