We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcd6309 + 8ca47cd commit 89dfb65Copy full SHA for 89dfb65
compiler/rustc_mir_dataflow/src/move_paths/mod.rs
@@ -177,8 +177,9 @@ pub struct MoveData<'tcx> {
177
pub rev_lookup: MovePathLookup<'tcx>,
178
pub inits: IndexVec<InitIndex, Init>,
179
/// Each Location `l` is mapped to the Inits that are effects
180
- /// of executing the code at `l`.
181
- pub init_loc_map: LocationMap<SmallVec<[InitIndex; 4]>>,
+ /// of executing the code at `l`. Only very rarely (e.g. inline asm)
+ /// is there more than one Init at any `l`.
182
+ pub init_loc_map: LocationMap<SmallVec<[InitIndex; 1]>>,
183
pub init_path_map: IndexVec<MovePathIndex, SmallVec<[InitIndex; 4]>>,
184
}
185
0 commit comments