[llvm-commits] [llvm] r56702 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Dan Gohman
gohman at apple.com
Fri Sep 26 15:02:59 PDT 2008
Author: djg
Date: Fri Sep 26 17:02:59 2008
New Revision: 56702
URL: http://llvm.org/viewvc/llvm-project?rev=56702&view=rev
Log:
Fix missing whitespace in the printing of function notes.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=56702&r1=56701&r2=56702&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Fri Sep 26 17:02:59 2008
@@ -1413,7 +1413,7 @@
bool insideNotes = false;
if (F->hasNote(Attribute::AlwaysInline)) {
- Out << "notes(";
+ Out << " notes(";
insideNotes = true;
Out << "inline=always";
}
@@ -1421,7 +1421,7 @@
if (insideNotes)
Out << ",";
else {
- Out << "notes(";
+ Out << " notes(";
insideNotes = true;
}
Out << "inline=never";
@@ -1430,7 +1430,7 @@
if (insideNotes)
Out << ",";
else {
- Out << "notes(";
+ Out << " notes(";
insideNotes = true;
}
Out << "opt_size";
More information about the llvm-commits
mailing list