mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Fix debug build
This commit is contained in:
@@ -270,6 +270,7 @@ fn codegen_fn_content(fx: &mut FunctionCx<'_, '_, impl Backend>) {
|
||||
fx.bcx.ins().jump(target, &[]);
|
||||
|
||||
fx.bcx.switch_to_block(failure);
|
||||
fx.bcx.ins().nop();
|
||||
|
||||
let location = fx
|
||||
.get_caller_location(bb_data.terminator().source_info.span)
|
||||
@@ -720,6 +721,7 @@ fn is_fat_ptr<'tcx>(
|
||||
fx.bcx.ins().jump(loop_block, &[index]);
|
||||
|
||||
fx.bcx.switch_to_block(done_block);
|
||||
fx.bcx.ins().nop();
|
||||
}
|
||||
}
|
||||
Rvalue::Len(place) => {
|
||||
|
||||
Reference in New Issue
Block a user