Get the variable value arguments on `inst` as a slice.
(&self, inst: Inst)
| 942 | |
| 943 | /// Get the variable value arguments on `inst` as a slice. |
| 944 | pub fn inst_variable_args(&self, inst: Inst) -> &[Value] { |
| 945 | let num_fixed_args = self.insts[inst] |
| 946 | .opcode() |
| 947 | .constraints() |
| 948 | .num_fixed_value_arguments(); |
| 949 | &self.inst_args(inst)[num_fixed_args..] |
| 950 | } |
| 951 | |
| 952 | /// Get the variable value arguments on `inst` as a mutable slice. |
| 953 | pub fn inst_variable_args_mut(&mut self, inst: Inst) -> &mut [Value] { |
nothing calls this directly
no test coverage detected