Skip to content

Commit a92ddf5

Browse files
committed
fixup! revert most of the rest, but still expected to be without performance difference
1 parent 822b5cc commit a92ddf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,6 +2094,8 @@ void AsmPrinter::emitFunctionBody() {
20942094
for (auto &Handler : EHHandlers)
20952095
Handler->endBasicBlockSection(MF->back());
20962096
}
2097+
for (auto &Handler : Handlers)
2098+
Handler->markFunctionEnd();
20972099
for (auto &Handler : EHHandlers)
20982100
Handler->markFunctionEnd();
20992101
// Update the end label of the entry block's section.

0 commit comments

Comments
 (0)