projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4727f83
)
Fix warning.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 31 Oct 2008 01:50:01 +0000
(
01:50
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 31 Oct 2008 01:50:01 +0000
(
01:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58486
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/BasicInliner.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/BasicInliner.cpp
b/lib/Transforms/Utils/BasicInliner.cpp
index 73e8bd84676b6301e45e9cd9f906610f1359cf28..8c8a85eda9de274a7c6159b8082772084a108900 100644
(file)
--- 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;