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/Support/Timer.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/Support/Timer.cpp')
-rw-r--r-- | lib/Support/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 0c4f18f..a39f169 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -27,7 +27,7 @@ namespace llvm { extern std::ostream *GetLibSupportInfoOutputFile(); } // getLibSupportInfoOutputFilename - This ugly hack is brought to you courtesy // of constructor/destructor ordering being unspecified by C++. Basically the -// problem is that a Statistic<> object gets destroyed, which ends up calling +// problem is that a Statistic object gets destroyed, which ends up calling // 'GetLibSupportInfoOutputFile()' (below), which calls this function. // LibSupportInfoOutputFilename used to be a global variable, but sometimes it // would get destroyed before the Statistic, causing havoc to ensue. We "fix" |