Does this return more than one normal value? (Pre-struct return legalization)
(&self)
| 96 | /// Does this return more than one normal value? (Pre-struct return |
| 97 | /// legalization) |
| 98 | pub fn is_multi_return(&self) -> bool { |
| 99 | self.returns |
| 100 | .iter() |
| 101 | .filter(|r| r.purpose == ArgumentPurpose::Normal) |
| 102 | .count() |
| 103 | > 1 |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | fn write_list(f: &mut fmt::Formatter, args: &[AbiParam]) -> fmt::Result { |