diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2008-10-31 01:50:01 +0000 | 
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-31 01:50:01 +0000 | 
| commit | a1c4fcfc294f675cdae6f39e2f107868c2916284 (patch) | |
| tree | def0d485e8bd91951bc7417abe49dcc90ca23431 /llvm/lib/Transforms/Utils | |
| parent | 39304667af068723cd0e9e957b3e235776b7bbb5 (diff) | |
| download | bcm5719-llvm-a1c4fcfc294f675cdae6f39e2f107868c2916284.tar.gz bcm5719-llvm-a1c4fcfc294f675cdae6f39e2f107868c2916284.zip  | |
Fix warning.
llvm-svn: 58486
Diffstat (limited to 'llvm/lib/Transforms/Utils')
| -rw-r--r-- | llvm/lib/Transforms/Utils/BasicInliner.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/BasicInliner.cpp b/llvm/lib/Transforms/Utils/BasicInliner.cpp index 73e8bd84676..8c8a85eda9d 100644 --- a/llvm/lib/Transforms/Utils/BasicInliner.cpp +++ b/llvm/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;  | 

