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 @@ -1773,11 +1773,8 @@ void AsmPrinter::emitFunctionBody() {
1773
1773
if (MDNode *MD = MI.getPCSections ())
1774
1774
emitPCSectionsLabel (*MF, *MD);
1775
1775
1776
- for (const auto &HI : DebugHandlers) {
1777
- NamedRegionTimer T (HI.TimerName , HI.TimerDescription , HI.TimerGroupName ,
1778
- HI.TimerGroupDescription , TimePassesIsEnabled);
1776
+ for (const auto &HI : DebugHandlers)
1779
1777
HI.Handler ->beginInstruction (&MI);
1780
- }
1781
1778
1782
1779
if (isVerbose ())
1783
1780
emitComments (MI, OutStreamer->getCommentOS ());
@@ -1871,11 +1868,8 @@ void AsmPrinter::emitFunctionBody() {
1871
1868
if (MCSymbol *S = MI.getPostInstrSymbol ())
1872
1869
OutStreamer->emitLabel (S);
1873
1870
1874
- for (const auto &HI : DebugHandlers) {
1875
- NamedRegionTimer T (HI.TimerName , HI.TimerDescription , HI.TimerGroupName ,
1876
- HI.TimerGroupDescription , TimePassesIsEnabled);
1871
+ for (const auto &HI : DebugHandlers)
1877
1872
HI.Handler ->endInstruction ();
1878
- }
1879
1873
}
1880
1874
1881
1875
// 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