projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7810bfe
)
Fix missing whitespace in the printing of function notes.
author
Dan Gohman
<gohman@apple.com>
Fri, 26 Sep 2008 22:02:59 +0000
(22:02 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 26 Sep 2008 22:02:59 +0000
(22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56702
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 5ebf31c6215878c41ce225ecf4bef8ae21e8283d..b1ce257105212880dae8f5b4e0636cde6f1d2e08 100644
(file)
--- 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";