Get the fixed value arguments on `inst` as a mutable slice.
(&mut self, inst: Inst)
| 933 | |
| 934 | /// Get the fixed value arguments on `inst` as a mutable slice. |
| 935 | pub fn inst_fixed_args_mut(&mut self, inst: Inst) -> &mut [Value] { |
| 936 | let num_fixed_args = self.insts[inst] |
| 937 | .opcode() |
| 938 | .constraints() |
| 939 | .num_fixed_value_arguments(); |
| 940 | &mut self.inst_args_mut(inst)[..num_fixed_args] |
| 941 | } |
| 942 | |
| 943 | /// Get the variable value arguments on `inst` as a slice. |
| 944 | pub fn inst_variable_args(&self, inst: Inst) -> &[Value] { |
nothing calls this directly
no test coverage detected