From ed41f1bb1981a98eea63f00c5988cf62bbdd7c59 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Thu, 20 Jul 2006 17:28:38 +0000 Subject: Reduce number of exported symbols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29220 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/VirtRegMap.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/CodeGen/VirtRegMap.cpp') 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 + static cl::opt SpillerOpt("spiller", cl::desc("Spiller to use: (default: local)"), cl::Prefix, -- cgit v1.2.3-70-g09d2