@@ -5966,7 +5966,7 @@ impl Function {
59665966
59675967 // Instantiate the domain for abstract interpretation.
59685968 // We store possible param values for each block
5969- let mut predecessor_domain : Vec<Vec<ParamValue>> = vec![Vec::new(); self.blocks.len()];
5969+ let mut param_values : Vec<Vec<ParamValue>> = vec![Vec::new(); self.blocks.len()];
59705970
59715971 let blocks = self.reverse_post_order();
59725972
@@ -5993,7 +5993,7 @@ impl Function {
59935993 while changed {
59945994 changed = false;
59955995
5996- for (row, block) in predecessor_domain .iter_mut().zip(&self.blocks) {
5996+ for (row, block) in param_values .iter_mut().zip(&self.blocks) {
59975997 row.resize(block.params.len(), ParamValue::None);
59985998 }
59995999
@@ -6008,7 +6008,7 @@ impl Function {
60086008 if param == self.find_id(self.blocks[block_id.0].params[i]) {
60096009 continue
60106010 }
6011- predecessor_domain [block_id.0][i].update(param);
6011+ param_values [block_id.0][i].update(param);
60126012 }
60136013 }
60146014 }
@@ -6019,7 +6019,7 @@ impl Function {
60196019 // 2. Remove trivial params from the basic block definition
60206020 // 3. Remove trivial params from each CondBranch and Jump that targets the basic block that was just updated
60216021 for block_id in &blocks_receiving_params {
6022- let block_preds = &predecessor_domain [block_id.0];
6022+ let block_preds = ¶m_values [block_id.0];
60236023 let trivial_indices: Vec<usize> = block_preds.iter().enumerate()
60246024 .filter_map(|(idx, state)|
60256025 matches!(state, ParamValue::One(_)).then_some(idx)
0 commit comments