aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
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
commit533d3b3f37194f0a2af0c52cd748d197bd3a30fa (patch)
treecea74c1e9bc2dddb61e9da91bd94bc724aef175c /lib/VMCore
parent7810bfed5570c192e0714a8fd0e5130a0c38dd2e (diff)
downloadexternal_llvm-533d3b3f37194f0a2af0c52cd748d197bd3a30fa.zip
external_llvm-533d3b3f37194f0a2af0c52cd748d197bd3a30fa.tar.gz
external_llvm-533d3b3f37194f0a2af0c52cd748d197bd3a30fa.tar.bz2
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
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/AsmWriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 5ebf31c..b1ce257 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/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";