summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-06 01:53:16 +0000
committerDan Gohman <gohman@apple.com>2008-05-06 01:53:16 +0000
commit6a2da37c0e867e1adf80a592c152a6246f63ee5b (patch)
tree4a1798a684cdbcae48d13065f3612a518dd7fb91 /llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
parenta8b7e78f542cd9ba3a992d0d3687d108a8a4ffa9 (diff)
downloadbcm5719-llvm-6a2da37c0e867e1adf80a592c152a6246f63ee5b.tar.gz
bcm5719-llvm-6a2da37c0e867e1adf80a592c152a6246f63ee5b.zip
Make several variable declarations static.
llvm-svn: 50696
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopUnswitch.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopUnswitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
index 47751235304..5af0a57a80f 100644
--- a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
@@ -55,7 +55,7 @@ STATISTIC(NumTrivial , "Number of unswitches that are trivial");
STATISTIC(NumSimplify, "Number of simplifications of unswitched code");
namespace {
- cl::opt<unsigned>
+ static cl::opt<unsigned>
Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"),
cl::init(10), cl::Hidden);
OpenPOWER on IntegriCloud