Rename define_function to define_function_with_control_plane (#6165)

And add a define_function convenience function which uses a default
control plane.
This commit is contained in:
bjorn3
2023-04-06 18:14:13 +02:00
committed by GitHub
parent 5ba0d696b7
commit e1812b611b
8 changed files with 48 additions and 28 deletions

View File

@@ -679,7 +679,7 @@ impl Module for JITModule {
})
}
fn define_function(
fn define_function_with_control_plane(
&mut self,
id: FuncId,
ctx: &mut cranelift_codegen::Context,