File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,7 @@ static ManagedStatic<DebugCounterOwner> Owner;
178178
179179void llvm::initDebugCounterOptions () { (void )DebugCounter::instance (); }
180180
181- DebugCounter &DebugCounter::instance () {
182- return *Owner;
183- }
181+ DebugCounter &DebugCounter::instance () { return *Owner; }
184182
185183// This is called by the command line parser when it sees a value for the
186184// debug-counter option defined above.
@@ -259,8 +257,8 @@ bool DebugCounter::shouldExecuteImpl(CounterInfo &Counter) {
259257 auto &Us = instance ();
260258 bool Res = Us.handleCounterIncrement (Counter);
261259 if (Us.ShouldPrintCounterQueries && Counter.IsSet ) {
262- dbgs () << " DebugCounter " << Counter.Name << " ="
263- << (Counter. Count - 1 ) << ( Res ? " execute" : " skip" ) << " \n " ;
260+ dbgs () << " DebugCounter " << Counter.Name << " =" << (Counter. Count - 1 )
261+ << (Res ? " execute" : " skip" ) << " \n " ;
264262 }
265263 return Res;
266264}
You can’t perform that action at this time.
0 commit comments