diff options
| author | Devang Patel <dpatel@apple.com> | 2008-09-02 22:43:57 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2008-09-02 22:43:57 +0000 |
| commit | 7e592702720cf35983ee2cf91fb6bae1881ad830 (patch) | |
| tree | 2d943161af5e2093ba4131e66b40a9e8cd44f183 /llvm/lib/Transforms/IPO | |
| parent | 43c5a52e0742eb32ffc6d451077077b592202c53 (diff) | |
| download | bcm5719-llvm-7e592702720cf35983ee2cf91fb6bae1881ad830.tar.gz bcm5719-llvm-7e592702720cf35983ee2cf91fb6bae1881ad830.zip | |
s/FP_AlwaysInline/FN_NOTE_AlwaysInline/g
llvm-svn: 55676
Diffstat (limited to 'llvm/lib/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/Inliner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp index e9ae21f7951..845ffd864e3 100644 --- a/llvm/lib/Transforms/IPO/Inliner.cpp +++ b/llvm/lib/Transforms/IPO/Inliner.cpp @@ -142,9 +142,9 @@ bool Inliner::runOnSCC(const std::vector<CallGraphNode*> &SCC) { Function *Fn = CS.getCalledFunction(); bool AlwaysInline = false; - if (Fn && (Fn->getNotes() & FP_AlwaysInline)) + if (Fn && (Fn->getNotes() & FN_NOTE_AlwaysInline)) AlwaysInline = true; - if (Fn && (Fn->getNotes() & FP_NoInline)) + if (Fn && (Fn->getNotes() & FN_NOTE_NoInline)) DOUT << "NOT Inlining: inline=never is set" << *CS.getInstruction(); else if (!AlwaysInline && InlineCost >= (int)(InlineThreshold * FudgeFactor)) { |

