summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/RSProfiling.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/Transforms/Instrumentation/RSProfiling.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/Transforms/Instrumentation/RSProfiling.cpp')
-rw-r--r--lib/Transforms/Instrumentation/RSProfiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/RSProfiling.cpp b/lib/Transforms/Instrumentation/RSProfiling.cpp
index 15249c2e1a..c22a29ff7a 100644
--- a/lib/Transforms/Instrumentation/RSProfiling.cpp
+++ b/lib/Transforms/Instrumentation/RSProfiling.cpp
@@ -56,7 +56,7 @@ namespace {
GBV, GBVO, HOSTCC
};
- cl::opt<RandomMeth> RandomMethod("profile-randomness",
+ static cl::opt<RandomMeth> RandomMethod("profile-randomness",
cl::desc("How to randomly choose to profile:"),
cl::values(
clEnumValN(GBV, "global", "global counter"),