Propagate the needs-stack-map bit from `var` to `val`.
(&mut self, var: Variable, val: Value)
| 242 | |
| 243 | /// Propagate the needs-stack-map bit from `var` to `val`. |
| 244 | fn record_stack_map_binding(&mut self, var: Variable, val: Value) { |
| 245 | if self.stack_map_vars.contains(var) { |
| 246 | log::trace!("recording stack-map binding {var:?} -> {val:?}"); |
| 247 | self.stack_map_values.insert(val); |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | /// Declares a use of a variable in a given basic block. Returns the SSA value corresponding |
| 252 | /// to the current SSA definition of this variable and a list of newly created Blocks that |