Reduce number of exported symbols
llvm-svn: 29220
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 241801c..a46ad1a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -42,7 +42,7 @@
using namespace llvm;
namespace {
- Statistic<> NodesCombined ("dagcombiner", "Number of dag nodes combined");
+ static Statistic<> NodesCombined ("dagcombiner", "Number of dag nodes combined");
class VISIBILITY_HIDDEN DAGCombiner {
SelectionDAG &DAG;
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index a0858d9..ee01370 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@ -34,8 +34,8 @@
using namespace llvm;
namespace {
- Statistic<> NumNoops ("scheduler", "Number of noops inserted");
- Statistic<> NumStalls("scheduler", "Number of pipeline stalls");
+ static Statistic<> NumNoops ("scheduler", "Number of noops inserted");
+ static Statistic<> NumStalls("scheduler", "Number of pipeline stalls");
}
namespace {