Create a new `Context` initialized for use with this `Module`. This ensures that the `Context` is initialized with the default calling convention for the `TargetIsa`.
(&self)
| 845 | /// This ensures that the `Context` is initialized with the default calling |
| 846 | /// convention for the `TargetIsa`. |
| 847 | fn make_context(&self) -> Context { |
| 848 | let mut ctx = Context::new(); |
| 849 | ctx.func.signature.call_conv = self.isa().default_call_conv(); |
| 850 | ctx |
| 851 | } |
| 852 | |
| 853 | /// Clear the given `Context` and reset it for use with a new function. |
| 854 | /// |
nothing calls this directly
no test coverage detected