summaryrefslogtreecommitdiffstats
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
commitff1faf70333677e3af48b8589c3123dec5e01763 (patch)
treea0e444729b1fef71ea5a8fb069b79053c782bd08
parent64185905968d2650fbd9daaf103987fc94fae9fd (diff)
downloadbcm5719-llvm-ff1faf70333677e3af48b8589c3123dec5e01763.tar.gz
bcm5719-llvm-ff1faf70333677e3af48b8589c3123dec5e01763.zip
These should *stop* the timer, not start it again.
llvm-svn: 66586
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index fa230b5a822..98c2fe1d77d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud