aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-31 01:50:01 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-31 01:50:01 +0000
commit0656466734f44ac2fc0132322700b67a18d220c2 (patch)
tree732add2fc598257933c72b25cdd084ff695be081 /lib/Transforms
parent4727f8374122dea64148d44bd88d50a7a52f31c9 (diff)
Fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Utils/BasicInliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/BasicInliner.cpp b/lib/Transforms/Utils/BasicInliner.cpp
index 73e8bd8467..8c8a85eda9 100644
--- a/lib/Transforms/Utils/BasicInliner.cpp
+++ b/lib/Transforms/Utils/BasicInliner.cpp
@@ -118,7 +118,7 @@ void BasicInlinerImpl::inlineFunctions() {
} else {
int Cost = IC.getValue();
- if (Cost >= BasicInlineThreshold) {
+ if (Cost >= (int) BasicInlineThreshold) {
DOUT << " NOT Inlining: cost = " << Cost
<< ", call: " << *CS.getInstruction();
continue;