summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.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
commit4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f (patch)
tree06573858cbbfb4ee974e18ae3bd53a600cdcb794 /lib/CodeGen/BranchFolding.cpp
parent84b7df43fb098268f6ce37a3e32bcc2f455ecf96 (diff)
downloadllvm-4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f.tar.gz
llvm-4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f.tar.bz2
llvm-4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f.tar.xz
Make several variable declarations static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 703addc631..0dd31b1893 100644
--- a/lib/CodeGen/BranchFolding.cpp
+++ b/lib/CodeGen/BranchFolding.cpp
@@ -40,7 +40,7 @@ static cl::opt<cl::boolOrDefault> FlagEnableTailMerge("enable-tail-merge",
cl::init(cl::BOU_UNSET), cl::Hidden);
namespace {
// Throttle for huge numbers of predecessors (compile speed problems)
- cl::opt<unsigned>
+ static cl::opt<unsigned>
TailMergeThreshold("tail-merge-threshold",
cl::desc("Max number of predecessors to consider tail merging"),
cl::init(100), cl::Hidden);