Get information specifying how to pass the implicit pointer to the return-value area on the stack, if required.
(&self, sig: Sig)
| 977 | /// Get information specifying how to pass the implicit pointer |
| 978 | /// to the return-value area on the stack, if required. |
| 979 | pub fn get_ret_arg(&self, sig: Sig) -> Option<ABIArg> { |
| 980 | let sig_data = &self.sigs[sig]; |
| 981 | if let Some(i) = sig_data.stack_ret_arg { |
| 982 | Some(self.args(sig)[usize::from(i)].clone()) |
| 983 | } else { |
| 984 | None |
| 985 | } |
| 986 | } |
| 987 | |
| 988 | /// Get information specifying how to pass one argument. |
| 989 | pub fn get_arg(&self, sig: Sig, idx: usize) -> ABIArg { |
no test coverage detected