Get the fixed value arguments on `inst` as a slice.
(&self, inst: Inst)
| 924 | |
| 925 | /// Get the fixed value arguments on `inst` as a slice. |
| 926 | pub fn inst_fixed_args(&self, inst: Inst) -> &[Value] { |
| 927 | let num_fixed_args = self.insts[inst] |
| 928 | .opcode() |
| 929 | .constraints() |
| 930 | .num_fixed_value_arguments(); |
| 931 | &self.inst_args(inst)[..num_fixed_args] |
| 932 | } |
| 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] { |
no test coverage detected