From 533d3b3f37194f0a2af0c52cd748d197bd3a30fa Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 26 Sep 2008 22:02:59 +0000 Subject: [PATCH] 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 --- lib/VMCore/AsmWriter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 5ebf31c6215..b1ce2571052 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";