commit | a1c4fcfc294f675cdae6f39e2f107868c2916284 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Oct 31 01:50:01 2008 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Oct 31 01:50:01 2008 +0000 |
tree | def0d485e8bd91951bc7417abe49dcc90ca23431 | |
parent | 39304667af068723cd0e9e957b3e235776b7bbb5 [diff] [blame] |
Fix warning. llvm-svn: 58486
diff --git a/llvm/lib/Transforms/Utils/BasicInliner.cpp b/llvm/lib/Transforms/Utils/BasicInliner.cpp index 73e8bd8..8c8a85e 100644 --- a/llvm/lib/Transforms/Utils/BasicInliner.cpp +++ b/llvm/lib/Transforms/Utils/BasicInliner.cpp
@@ -118,7 +118,7 @@ } else { int Cost = IC.getValue(); - if (Cost >= BasicInlineThreshold) { + if (Cost >= (int) BasicInlineThreshold) { DOUT << " NOT Inlining: cost = " << Cost << ", call: " << *CS.getInstruction(); continue;