Create a new [`ABIResults`] from [`ABIOperands`].
(operands: ABIOperands)
| 366 | |
| 367 | /// Create a new [`ABIResults`] from [`ABIOperands`]. |
| 368 | pub fn new(operands: ABIOperands) -> Self { |
| 369 | let ret_area = (operands.bytes > 0).then(|| RetArea::default()); |
| 370 | Self { operands, ret_area } |
| 371 | } |
| 372 | |
| 373 | /// Returns a reference to a [HashSet<Reg>], which includes |
| 374 | /// all the registers used to hold function results. |