pub fn run_with_ctx<'a, F: Function>(
func: &F,
env: &MachineEnv,
options: &RegallocOptions,
ctx: &'a mut Ctx,
) -> Result<&'a Output, RegAllocError>
Expand description
Run the allocator with reusable context.
Return value points to ctx.output
that can be alternatively std::mem::take
n.