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/Target/PowerPC | |
parent | 2b4e98cb20c9391399b2601a793b6ea689da3cee (diff) | |
download | llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.gz llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.bz2 llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.xz |
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/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCBranchSelector.cpp | 2 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index abbcc57255..65145e5a3b 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -46,7 +46,7 @@ using namespace llvm; namespace { - Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed"); + Statistic EmittedInsts("asm-printer", "Number of machine instrs printed"); struct VISIBILITY_HIDDEN PPCAsmPrinter : public AsmPrinter { std::set<std::string> FnStubs, GVStubs; diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp index edd2857921..7a8b094bff 100644 --- a/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -27,7 +27,7 @@ #include "llvm/Support/MathExtras.h" using namespace llvm; -static Statistic<> NumExpanded("ppc-branch-select", +static Statistic NumExpanded("ppc-branch-select", "Num branches expanded to long format"); namespace { diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 083bb2a1b0..1a3508e5ad 100644 --- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -36,7 +36,7 @@ using namespace llvm; namespace { - Statistic<> FrameOff("ppc-codegen", "Number of frame idx offsets collapsed"); + Statistic FrameOff("ppc-codegen", "Number of frame idx offsets collapsed"); //===--------------------------------------------------------------------===// /// PPCDAGToDAGISel - PPC specific code to select PPC machine |