mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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
This commit is contained in:
parent
e9e960ff55
commit
7b69720ff4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user