We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cleanup_ret
1 parent b849326 commit fda115aCopy full SHA for fda115a
compiler/rustc_codegen_ssa/src/mir/block.rs
@@ -88,14 +88,7 @@ impl<'a, 'tcx> TerminatorCodegenHelper<'tcx> {
88
bx: &mut Bx,
89
target: mir::BasicBlock,
90
) {
91
- let (lltarget, is_cleanupret) = self.lltarget(fx, target);
92
- if is_cleanupret {
93
- // micro-optimization: generate a `ret` rather than a jump
94
- // to a trampoline.
95
- bx.cleanup_ret(self.funclet(fx).unwrap(), Some(lltarget));
96
- } else {
97
- bx.br(lltarget);
98
- }
+ bx.br(self.llblock(fx, target));
99
}
100
101
/// Call `fn_ptr` of `fn_abi` with the arguments `llargs`, the optional
0 commit comments