Convenience wrapper around [CodeGenContext::push_abi_results] using the results of the current frame.
(
&mut self,
context: &mut CodeGenContext<Emission>,
masm: &mut M,
)
| 757 | /// Convenience wrapper around [CodeGenContext::push_abi_results] using the |
| 758 | /// results of the current frame. |
| 759 | fn push_abi_results<M>( |
| 760 | &mut self, |
| 761 | context: &mut CodeGenContext<Emission>, |
| 762 | masm: &mut M, |
| 763 | ) -> Result<()> |
| 764 | where |
| 765 | M: MacroAssembler, |
| 766 | { |
| 767 | context.push_abi_results(self.results::<M>()?, masm, |results, _, _| { |
| 768 | results.ret_area().copied() |
| 769 | }) |
| 770 | } |
| 771 | |
| 772 | /// Preemptively handles the ABI results of the current frame. |
| 773 | /// This function is meant to be used when emitting control flow with joins, |