summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitdcd68b7a658dc95d3e14104ae16c2b36424b78b6 (patch)
tree266046944256322ebd75a6b3eefb80db64e39503 /llvm/lib/Support/Statistic.cpp
parent9a608d248e093e1808572e9e4dfaebf5ac7c1dd1 (diff)
downloadbcm5719-llvm-dcd68b7a658dc95d3e14104ae16c2b36424b78b6.tar.gz
bcm5719-llvm-dcd68b7a658dc95d3e14104ae16c2b36424b78b6.zip
if a timergroup is destroyed before its timers, print times.
llvm-svn: 99873
Diffstat (limited to 'llvm/lib/Support/Statistic.cpp')
-rw-r--r--llvm/lib/Support/Statistic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp
index e7876704599..f88094af74b 100644
--- a/llvm/lib/Support/Statistic.cpp
+++ b/llvm/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.
}
OpenPOWER on IntegriCloud