Skip to content

Commit e54c610

Browse files
committed
Fix compilation errors created during rebase
1 parent ab657e3 commit e54c610

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_codegen_ssa/mir/analyze.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub fn non_ssa_locals<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
2828
// FIXME(eddyb): We should figure out how to use llvm.dbg.value instead
2929
// of putting everything in allocas just so we can use llvm.dbg.declare.
3030
if fx.cx.sess().opts.debuginfo == DebugInfo::Full {
31-
if mir.local_kind(local) == mir::LocalKind::Arg {
31+
if fx.mir.local_kind(local) == mir::LocalKind::Arg {
3232
analyzer.not_ssa(local);
3333
continue;
3434
}

src/librustc_codegen_ssa/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ pub fn codegen_mir<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
171171
funclets,
172172
locals: IndexVec::new(),
173173
debug_context,
174-
per_local_var_debug_info: debuginfo::per_local_var_debug_info(cx.tcx(), mir),
174+
per_local_var_debug_info: debuginfo::per_local_var_debug_info(cx.tcx(), mir_body),
175175
};
176176

177177
let memory_locals = analyze::non_ssa_locals(&fx);

0 commit comments

Comments
 (0)