aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-07-20 17:28:38 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-07-20 17:28:38 +0000
commited41f1bb1981a98eea63f00c5988cf62bbdd7c59 (patch)
treec4b4d2a8de8df909d5bc2aa9c298b48dabfc2394 /lib/CodeGen/VirtRegMap.cpp
parent74bda2e320b92c017c1938ab35a18071d22f5127 (diff)
Reduce number of exported symbols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--lib/CodeGen/VirtRegMap.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp
index 5263f887cd..86fef3e432 100644
--- a/lib/CodeGen/VirtRegMap.cpp
+++ b/lib/CodeGen/VirtRegMap.cpp
@@ -34,16 +34,16 @@
using namespace llvm;
namespace {
- Statistic<> NumSpills("spiller", "Number of register spills");
- Statistic<> NumStores("spiller", "Number of stores added");
- Statistic<> NumLoads ("spiller", "Number of loads added");
- Statistic<> NumReused("spiller", "Number of values reused");
- Statistic<> NumDSE ("spiller", "Number of dead stores elided");
- Statistic<> NumDCE ("spiller", "Number of copies elided");
+ static Statistic<> NumSpills("spiller", "Number of register spills");
+ static Statistic<> NumStores("spiller", "Number of stores added");
+ static Statistic<> NumLoads ("spiller", "Number of loads added");
+ static Statistic<> NumReused("spiller", "Number of values reused");
+ static Statistic<> NumDSE ("spiller", "Number of dead stores elided");
+ static Statistic<> NumDCE ("spiller", "Number of copies elided");
enum SpillerName { simple, local };
- cl::opt<SpillerName>
+ static cl::opt<SpillerName>
SpillerOpt("spiller",
cl::desc("Spiller to use: (default: local)"),
cl::Prefix,