summaryrefslogtreecommitdiff
path: root/lib/Support/Statistic.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-30 04:58:26 +0000
committerChris Lattner <sabre@nondot.org>2010-03-30 04:58:26 +0000
commit9f9f6d19dd67926446fb89a7b2dc0bda6353645b (patch)
tree118bf5b33e48a6c5bd6d2a36abaf6856a2d0de68 /lib/Support/Statistic.cpp
parentb9312690a2a79de490ab9c439b9b5d7c9319bff8 (diff)
downloadllvm-9f9f6d19dd67926446fb89a7b2dc0bda6353645b.tar.gz
llvm-9f9f6d19dd67926446fb89a7b2dc0bda6353645b.tar.bz2
llvm-9f9f6d19dd67926446fb89a7b2dc0bda6353645b.tar.xz
if a timergroup is destroyed before its timers, print times.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Statistic.cpp')
-rw-r--r--lib/Support/Statistic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp
index e787670459..f88094af74 100644
--- a/lib/Support/Statistic.cpp
+++ b/lib/Support/Statistic.cpp
@@ -128,6 +128,6 @@ StatisticInfo::~StatisticInfo() {
OutStream << '\n'; // Flush the output stream...
OutStream.flush();
- if (&OutStream != &outs() && &OutStream != &errs() && &OutStream != &dbgs())
+ if (&OutStream != &outs() && &OutStream != &errs())
delete &OutStream; // Close the file.
}