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:
@@ -113,7 +113,11 @@ fn handle_module(
|
||||
cranelift_module::Linkage::Export,
|
||||
&context.func.signature,
|
||||
)?;
|
||||
module.define_function(fid, &mut context, &mut Default::default())?;
|
||||
module.define_function_with_control_plane(
|
||||
fid,
|
||||
&mut context,
|
||||
&mut Default::default(),
|
||||
)?;
|
||||
}
|
||||
|
||||
if options.print {
|
||||
|
||||
Reference in New Issue
Block a user