From: Dan Gohman Date: Fri, 26 Sep 2008 22:02:59 +0000 (+0000) Subject: Fix missing whitespace in the printing of function notes. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=533d3b3f37194f0a2af0c52cd748d197bd3a30fa;p=oota-llvm.git 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 --- 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";