summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 22:41:21 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 22:41:21 +0000
commitaee775a6b717f0ec397e5d82d2a24d607f147466 (patch)
tree1178dac15fd98cb50691d48a4fab7989e9ce420d /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
parent57ef942306c83d26160fa024313600f894c9c065 (diff)
downloadbcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.tar.gz
bcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.zip
Eliminate static ctors from Statistics
llvm-svn: 32698
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index 401b0249db6..d21ef34c645 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@ -34,10 +34,8 @@
#include <queue>
using namespace llvm;
-namespace {
- static Statistic NumNoops ("scheduler", "Number of noops inserted");
- static Statistic NumStalls("scheduler", "Number of pipeline stalls");
-}
+STATISTIC(NumNoops , "Number of noops inserted");
+STATISTIC(NumStalls, "Number of pipeline stalls");
static RegisterScheduler
tdListDAGScheduler("list-td", " Top-down list scheduler",
OpenPOWER on IntegriCloud