Clear the given `Signature` and reset for use with a new function. This ensures that the `Signature` is initialized with the default calling convention for the `TargetIsa`.
(&self, sig: &mut ir::Signature)
| 871 | /// This ensures that the `Signature` is initialized with the default |
| 872 | /// calling convention for the `TargetIsa`. |
| 873 | fn clear_signature(&self, sig: &mut ir::Signature) { |
| 874 | sig.clear(self.isa().default_call_conv()); |
| 875 | } |
| 876 | |
| 877 | /// Declare a function in this module. |
| 878 | fn declare_function( |
nothing calls this directly
no test coverage detected