Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit bac3464

Browse files
committed
Fix debug build
1 parent a2c2db9 commit bac3464

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/base.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ fn codegen_fn_content(fx: &mut FunctionCx<'_, '_, impl Backend>) {
270270
fx.bcx.ins().jump(target, &[]);
271271

272272
fx.bcx.switch_to_block(failure);
273+
fx.bcx.ins().nop();
273274

274275
let location = fx
275276
.get_caller_location(bb_data.terminator().source_info.span)
@@ -720,6 +721,7 @@ fn trans_stmt<'tcx>(
720721
fx.bcx.ins().jump(loop_block, &[index]);
721722

722723
fx.bcx.switch_to_block(done_block);
724+
fx.bcx.ins().nop();
723725
}
724726
}
725727
Rvalue::Len(place) => {

0 commit comments

Comments
 (0)