diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:41:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:41:21 +0000 |
commit | cd3245ac45c595da96bb768a55cddc356dff55fe (patch) | |
tree | 2cfe9ce9a5871f25e319518822d6b882e395c252 /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | |
parent | 3b27d68c6af2582df0962557f1fe5c3f70f46e3f (diff) |
Eliminate static ctors from Statistics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 401b0249db..d21ef34c64 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/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", |