From e15607b7bb9ebbf9d0847188f18ee809587f31e2 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 24 Sep 2008 00:06:15 +0000 Subject: Put FN_NOTE_AlwaysInline and others in FnAttr namespace. llvm-svn: 56527 --- llvm/lib/VMCore/AsmWriter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/VMCore') diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index 3b9b6690fe9..6cdf72527bf 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -1412,12 +1412,12 @@ void AssemblyWriter::printFunction(const Function *F) { } else { bool insideNotes = false; - if (F->hasNote(FN_NOTE_AlwaysInline)) { + if (F->hasNote(FnAttr::AlwaysInline)) { Out << "notes("; insideNotes = true; Out << "inline=always"; } - if (F->hasNote(FN_NOTE_NoInline)) { + if (F->hasNote(FnAttr::NoInline)) { if (insideNotes) Out << ","; else { @@ -1426,7 +1426,7 @@ void AssemblyWriter::printFunction(const Function *F) { } Out << "inline=never"; } - if (F->hasNote(FN_NOTE_OptimizeForSize)) { + if (F->hasNote(FnAttr::OptimizeForSize)) { if (insideNotes) Out << ","; else { -- cgit v1.2.3