diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-19 13:22:27 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-19 13:22:27 +0000 |
commit | ae9a23fc8afc46c29442a38f89a67eea725222cb (patch) | |
tree | 5e4affc22e3532ad554a004a8ae8b584b575ab04 | |
parent | 6ca4210d3ad18cd94a51fd78cf1b5164160f7488 (diff) | |
download | bcm5719-llvm-ae9a23fc8afc46c29442a38f89a67eea725222cb.tar.gz bcm5719-llvm-ae9a23fc8afc46c29442a38f89a67eea725222cb.zip |
InlineCost: Make TotalAllocaSizeRecursiveCaller unsigned to avoid sign-compare warnings.
It's a size, not a cost.
llvm-svn: 164219
-rw-r--r-- | llvm/include/llvm/Analysis/InlineCost.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/InlineCost.h b/llvm/include/llvm/Analysis/InlineCost.h index f8de5335067..d58671f873d 100644 --- a/llvm/include/llvm/Analysis/InlineCost.h +++ b/llvm/include/llvm/Analysis/InlineCost.h @@ -38,7 +38,7 @@ namespace llvm { const int NoreturnPenalty = 10000; /// Do not inline functions which allocate this many bytes on the stack /// when the caller is recursive. - const int TotalAllocaSizeRecursiveCaller = 1024; + const unsigned TotalAllocaSizeRecursiveCaller = 1024; } /// \brief Represents the cost of inlining a function. |