Minor comment cleanups.

This commit is contained in:
Dan Gohman
2017-08-31 16:16:08 -07:00
parent 1d03244e90
commit de02976162
3 changed files with 5 additions and 5 deletions

View File

@@ -422,8 +422,8 @@ where
let mut preds = Vec::new(); let mut preds = Vec::new();
mem::swap(&mut preds, &mut self.predecessors_mut(dest_ebb)); mem::swap(&mut preds, &mut self.predecessors_mut(dest_ebb));
for &(pred, last_inst) in preds.iter() { for &(pred, last_inst) in preds.iter() {
// For undef value and each predecessor we query what is the local SSA value // For each predecessor, we query what is the local SSA value corresponding
// corresponding to var and we put it as an argument of the branch instruction. // to var and we put it as an argument of the branch instruction.
let (pred_val, mut local_side_effects) = let (pred_val, mut local_side_effects) =
self.use_var(dfg, layout, jts, temp_arg_var, ty, pred); self.use_var(dfg, layout, jts, temp_arg_var, ty, pred);
pred_values = match pred_values { pred_values = match pred_values {