diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-24 00:06:15 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-24 00:06:15 +0000 |
commit | e15607b7bb9ebbf9d0847188f18ee809587f31e2 (patch) | |
tree | 22f32e47be4e1434c558cd1fb100190b461dfb35 /llvm/lib/VMCore | |
parent | e0add20c1b9e05b4d9ffdfa333d9a4448ff198f0 (diff) | |
download | bcm5719-llvm-e15607b7bb9ebbf9d0847188f18ee809587f31e2.tar.gz bcm5719-llvm-e15607b7bb9ebbf9d0847188f18ee809587f31e2.zip |
Put FN_NOTE_AlwaysInline and others in FnAttr namespace.
llvm-svn: 56527
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |