aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/MemoryDependenceAnalysis.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/Analysis/MemoryDependenceAnalysis.cpp
parent84b7df43fb098268f6ce37a3e32bcc2f455ecf96 (diff)
downloadexternal_llvm-4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f.zip
external_llvm-4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f.tar.gz
external_llvm-4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f.tar.bz2
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/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp
index 161c2fe..8a59c3a 100644
--- a/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -31,7 +31,7 @@ using namespace llvm;
namespace {
// Control the calculation of non-local dependencies by only examining the
// predecessors if the basic block has less than X amount (50 by default).
- cl::opt<int>
+ static cl::opt<int>
PredLimit("nonlocaldep-threshold", cl::Hidden, cl::init(50),
cl::desc("Control the calculation of non-local"
"dependencies (default = 50)"));