summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-26 22:02:59 +0000
committerDan Gohman <gohman@apple.com>2008-09-26 22:02:59 +0000
commit5628f642adf799bde2e134e6d51b4b666343a9d8 (patch)
treec3d4c6980d1eafa0eafe7bf9b5c9331190ce9a83
parent928f484c2df75162075a053f888d71a4606d8afc (diff)
downloadbcm5719-llvm-5628f642adf799bde2e134e6d51b4b666343a9d8.tar.gz
bcm5719-llvm-5628f642adf799bde2e134e6d51b4b666343a9d8.zip
Fix missing whitespace in the printing of function notes.
llvm-svn: 56702
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 5ebf31c6215..b1ce2571052 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -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";
OpenPOWER on IntegriCloud