diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-08-19 01:42:18 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-08-19 01:42:18 +0000 |
commit | a67f14bf53737f9bb0afefa28e08c4aac6ec4804 (patch) | |
tree | 95c5c28e6180cb91d0c5fbc002127ce640b76f08 /lib/CodeGen | |
parent | 613d13beb03bb56a17e6b3262c5e8e539a7e9db8 (diff) | |
download | external_llvm-a67f14bf53737f9bb0afefa28e08c4aac6ec4804.zip external_llvm-a67f14bf53737f9bb0afefa28e08c4aac6ec4804.tar.gz external_llvm-a67f14bf53737f9bb0afefa28e08c4aac6ec4804.tar.bz2 |
Make a bunch of symbols private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 2 | ||||
-rw-r--r-- | lib/CodeGen/ScheduleDAG.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 5adb76e..4275851 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -51,7 +51,7 @@ STATISTIC(NumGlobalSplits, "Number of split global live ranges"); STATISTIC(NumLocalSplits, "Number of split local live ranges"); STATISTIC(NumEvicted, "Number of interferences evicted"); -cl::opt<bool> CompactRegions("compact-regions", cl::init(true)); +static cl::opt<bool> CompactRegions("compact-regions", cl::init(true)); static RegisterRegAlloc greedyRegAlloc("greedy", "greedy register allocator", createGreedyRegisterAllocator); diff --git a/lib/CodeGen/ScheduleDAG.cpp b/lib/CodeGen/ScheduleDAG.cpp index fc68db9..1e9b5c8 100644 --- a/lib/CodeGen/ScheduleDAG.cpp +++ b/lib/CodeGen/ScheduleDAG.cpp @@ -26,7 +26,7 @@ using namespace llvm; #ifndef NDEBUG -cl::opt<bool> StressSchedOpt( +static cl::opt<bool> StressSchedOpt( "stress-sched", cl::Hidden, cl::init(false), cl::desc("Stress test instruction scheduling")); #endif |