commit | dc1611f62dc62d4c9cf5d906ed314e6e2c00969a | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed Sep 24 00:06:15 2008 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed Sep 24 00:06:15 2008 +0000 |
tree | d99b92af998a00799cf14a07d6040b5654b60cbe | |
parent | 7f250d639b8fba12b89199b92dcef45d7354b202 [diff] [blame] |
Put FN_NOTE_AlwaysInline and others in FnAttr namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56527 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 4289767..1cf6c9e 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp
@@ -65,7 +65,7 @@ for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) - if (!I->isDeclaration() && I->hasNote(FN_NOTE_NoInline)) + if (!I->isDeclaration() && I->hasNote(FnAttr::NoInline)) NeverInline.insert(I); // Get llvm.noinline