File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
llvm/lib/CodeGen/AsmPrinter Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -1776,11 +1776,8 @@ void AsmPrinter::emitFunctionBody() {
1776
1776
if (MDNode *MD = MI.getPCSections ())
1777
1777
emitPCSectionsLabel (*MF, *MD);
1778
1778
1779
- for (const auto &HI : DebugHandlers) {
1780
- NamedRegionTimer T (HI.TimerName , HI.TimerDescription , HI.TimerGroupName ,
1781
- HI.TimerGroupDescription , TimePassesIsEnabled);
1779
+ for (const auto &HI : DebugHandlers)
1782
1780
HI.Handler ->beginInstruction (&MI);
1783
- }
1784
1781
1785
1782
if (isVerbose ())
1786
1783
emitComments (MI, OutStreamer->getCommentOS ());
@@ -1874,11 +1871,8 @@ void AsmPrinter::emitFunctionBody() {
1874
1871
if (MCSymbol *S = MI.getPostInstrSymbol ())
1875
1872
OutStreamer->emitLabel (S);
1876
1873
1877
- for (const auto &HI : DebugHandlers) {
1878
- NamedRegionTimer T (HI.TimerName , HI.TimerDescription , HI.TimerGroupName ,
1879
- HI.TimerGroupDescription , TimePassesIsEnabled);
1874
+ for (const auto &HI : DebugHandlers)
1880
1875
HI.Handler ->endInstruction ();
1881
- }
1882
1876
}
1883
1877
1884
1878
// We must emit temporary symbol for the end of this basic block, if either
You can’t perform that action at this time.
0 commit comments