File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
compiler/rustc_mir_transform/src Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ fn propagate_ssa<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
138
138
let value = state. simplify_rvalue ( rvalue, location) ;
139
139
// FIXME(#112651) `rvalue` may have a subtype to `local`. We can only mark `local` as
140
140
// reusable if we have an exact type match.
141
- if state. local_decls [ local] . ty != rvalue. ty ( state. local_decls , tcx) {
141
+ if state. local_decls [ local] . ty != rvalue. ty ( state. local_decls , state . tcx ) {
142
142
return ;
143
143
}
144
144
value
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ impl SsaLocals {
147
147
} )
148
148
}
149
149
150
+ #[ instrument( level = "trace" , skip_all) ]
150
151
pub fn for_each_assignment_mut < ' tcx > (
151
152
& self ,
152
153
basic_blocks : & mut IndexSlice < BasicBlock , BasicBlockData < ' tcx > > ,
You can’t perform that action at this time.
0 commit comments