summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-24 00:06:15 +0000
committerDevang Patel <dpatel@apple.com>2008-09-24 00:06:15 +0000
commite15607b7bb9ebbf9d0847188f18ee809587f31e2 (patch)
tree22f32e47be4e1434c558cd1fb100190b461dfb35 /llvm/lib/VMCore
parente0add20c1b9e05b4d9ffdfa333d9a4448ff198f0 (diff)
downloadbcm5719-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.cpp6
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 {
OpenPOWER on IntegriCloud