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/Transforms/IPO/SimplifyLibCalls.cpp | |
| parent | 2b4e98cb20c9391399b2601a793b6ea689da3cee (diff) | |
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/Transforms/IPO/SimplifyLibCalls.cpp')
| -rw-r--r-- | lib/Transforms/IPO/SimplifyLibCalls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index fb22a2f139..f989d1dd16 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp @@ -35,7 +35,7 @@ namespace { /// This statistic keeps track of the total number of library calls that have /// been simplified regardless of which call it is. -Statistic<> SimplifiedLibCalls("simplify-libcalls", +Statistic SimplifiedLibCalls("simplify-libcalls", "Number of library calls simplified"); // Forward declarations @@ -68,7 +68,7 @@ class LibCallOptimization { LibCallOptimization **Prev, *Next; const char *FunctionName; ///< Name of the library call we optimize #ifndef NDEBUG - Statistic<> occurrences; ///< debug statistic (-debug-only=simplify-libcalls) + Statistic occurrences; ///< debug statistic (-debug-only=simplify-libcalls) #endif public: /// The \p fname argument must be the name of the library function being |
