diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
commit | ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da (patch) | |
tree | cba006a0f0e329a969ce29b7d10ba0dc244f4f90 /lib/CodeGen/VirtRegMap.cpp | |
parent | 2b4e98cb20c9391399b2601a793b6ea689da3cee (diff) | |
download | external_llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.zip external_llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.gz external_llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.bz2 |
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r-- | lib/CodeGen/VirtRegMap.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index a795856..359294d 100644 --- a/lib/CodeGen/VirtRegMap.cpp +++ b/lib/CodeGen/VirtRegMap.cpp @@ -33,12 +33,12 @@ using namespace llvm; namespace { - 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"); + 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 }; |