mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
InlineCost: Make TotalAllocaSizeRecursiveCaller unsigned to avoid sign-compare warnings.
It's a size, not a cost. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c1ab8f53d
commit
9455a61009
@ -38,7 +38,7 @@ namespace llvm {
|
|||||||
const int NoreturnPenalty = 10000;
|
const int NoreturnPenalty = 10000;
|
||||||
/// Do not inline functions which allocate this many bytes on the stack
|
/// Do not inline functions which allocate this many bytes on the stack
|
||||||
/// when the caller is recursive.
|
/// when the caller is recursive.
|
||||||
const int TotalAllocaSizeRecursiveCaller = 1024;
|
const unsigned TotalAllocaSizeRecursiveCaller = 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Represents the cost of inlining a function.
|
/// \brief Represents the cost of inlining a function.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user