add_retag: fix comment that does not match the code

This commit is contained in:
Ralf Jung 2024-03-09 17:42:41 +01:00
parent b054da8155
commit 1678c5c328

View File

@ -118,7 +118,7 @@ impl<'tcx> MirPass<'tcx> for AddRetag {
}
// PART 3
// Add retag after assignments where data "enters" this function: the RHS is behind a deref and the LHS is not.
// Add retag after assignments.
for block_data in basic_blocks {
// We want to insert statements as we iterate. To this end, we
// iterate backwards using indices.