Clarify a comment.
The "as" is equivalent to "because", but I originally read it more like "when", which was confusing.
This commit is contained in:
parent
48064d4498
commit
baa16d2471
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ impl<'tcx> crate::MirPass<'tcx> for GVN {
|
|||
|
||||
let param_env = tcx.param_env_reveal_all_normalized(body.source.def_id());
|
||||
let ssa = SsaLocals::new(tcx, body, param_env);
|
||||
// Clone dominators as we need them while mutating the body.
|
||||
// Clone dominators because we need them while mutating the body.
|
||||
let dominators = body.basic_blocks.dominators().clone();
|
||||
|
||||
let mut state = VnState::new(tcx, body, param_env, &ssa, &dominators, &body.local_decls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue