Skip to content

Commit bf8a004

Browse files
committed
Auto merge of #141653 - jieyouxu:revert-dbg-loc, r=<try>
[PERF] Revert "Auto merge of #141372 - khuey:ir_call_dbg_loc, r=jieyouxu" This reverts commit 5e16c66, reversing changes made to 038d599. r? `@ghost`
2 parents 0fc6f16 + 8ae8071 commit bf8a004

File tree

3 files changed

+0
-48
lines changed

3 files changed

+0
-48
lines changed

compiler/rustc_codegen_ssa/src/mir/block.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
11971197
(_, Some(llfn)) => llfn,
11981198
_ => span_bug!(span, "no instance or llfn for call"),
11991199
};
1200-
self.set_debug_loc(bx, mir::SourceInfo { span: fn_span, ..source_info });
12011200
helper.do_call(
12021201
self,
12031202
bx,

tests/debuginfo/multiline-calls.rs

Lines changed: 0 additions & 35 deletions
This file was deleted.

tests/ui/panics/location-detail-unwrap-multiline.rs

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)