mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-29 07:39:27 +00:00
allow specified inline threshold to be negative, as the value is
itself sometimes negative. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9bc243b251
commit
b822e70f36
@ -31,7 +31,7 @@ STATISTIC(NumInlined, "Number of functions inlined");
|
|||||||
STATISTIC(NumDeleted, "Number of functions deleted because all callers found");
|
STATISTIC(NumDeleted, "Number of functions deleted because all callers found");
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
cl::opt<unsigned> // FIXME: 200 is VERY conservative
|
cl::opt<int> // FIXME: 200 is VERY conservative
|
||||||
InlineLimit("inline-threshold", cl::Hidden, cl::init(200),
|
InlineLimit("inline-threshold", cl::Hidden, cl::init(200),
|
||||||
cl::desc("Control the amount of inlining to perform (default = 200)"));
|
cl::desc("Control the amount of inlining to perform (default = 200)"));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user