mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-14 01:20:40 +00:00
Fix missing whitespace in the printing of function notes.
llvm-svn: 56702
This commit is contained in:
parent
989db64c93
commit
a9e963a0b4
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user