diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-03-10 22:02:13 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-03-10 22:02:13 +0000 |
| commit | ff1faf70333677e3af48b8589c3123dec5e01763 (patch) | |
| tree | a0e444729b1fef71ea5a8fb069b79053c782bd08 | |
| parent | 64185905968d2650fbd9daaf103987fc94fae9fd (diff) | |
| download | bcm5719-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.cpp | 4 |
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; } |

