diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-30 04:58:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-30 04:58:26 +0000 |
commit | 9f9f6d19dd67926446fb89a7b2dc0bda6353645b (patch) | |
tree | 118bf5b33e48a6c5bd6d2a36abaf6856a2d0de68 /lib/Support/Statistic.cpp | |
parent | b9312690a2a79de490ab9c439b9b5d7c9319bff8 (diff) |
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.cpp | 2 |
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. } |