commit | 2c9c3e73682749016d5885b67ff719f634b37d58 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Sep 26 23:51:19 2008 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Sep 26 23:51:19 2008 +0000 |
tree | ee745b3e5a1a68cb4e954c3fdfe482b355be0d8f | |
parent | e7261863c56240a55c6f57062f0e1e028dc27dba [diff] [blame] |
Implement function notes as function attributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56716 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/IPO/InlineAlways.cpp b/lib/Transforms/IPO/InlineAlways.cpp index 448f246..1079c4a 100644 --- a/lib/Transforms/IPO/InlineAlways.cpp +++ b/lib/Transforms/IPO/InlineAlways.cpp
@@ -63,7 +63,7 @@ for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) - if (!I->isDeclaration() && !I->hasNote(Attribute::AlwaysInline)) + if (!I->isDeclaration() && !I->hasFnAttr(Attribute::AlwaysInline)) NeverInline.insert(I); return false;