aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-03-10 22:02:13 +0000
committerBill Wendling <isanbard@gmail.com>2009-03-10 22:02:13 +0000
commit7b69720ff42cad9b3eabe273a21948d23e220caf (patch)
treefb213d241b87dc776526c8e3759d92d68285c9fd /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parente9e960ff55594d503d59b3ccc002d2cd5e4ffa67 (diff)
These should *stop* the timer, not start it again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index fa230b5a82..98c2fe1d77 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -3050,7 +3050,7 @@ public:
if (CompileUnits.empty()) {
if (TimePassesIsEnabled)
- DebugTimer->startTimer();
+ DebugTimer->stopTimer();
return;
}
@@ -3065,7 +3065,7 @@ public:
// and any subprograms then there is not any debug info to emit.
if (!globalDIEs && !subprogramDIEs) {
if (TimePassesIsEnabled)
- DebugTimer->startTimer();
+ DebugTimer->stopTimer();
return;
}