summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc496b418b5e60bcbb6a7f71082a92561326c6aca (patch)
treeda07c17eb45e41c2c5f276430f733815b5d93b8a /llvm/lib/CodeGen/VirtRegMap.cpp
parent2b0baddc33dc055bee92af40bdc5d6eadb28962e (diff)
downloadbcm5719-llvm-c496b418b5e60bcbb6a7f71082a92561326c6aca.tar.gz
bcm5719-llvm-c496b418b5e60bcbb6a7f71082a92561326c6aca.zip
Reduce number of exported symbols
llvm-svn: 29220
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--llvm/lib/CodeGen/VirtRegMap.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp
index 5263f887cdf..86fef3e4324 100644
--- a/llvm/lib/CodeGen/VirtRegMap.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud