mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 17:29:26 +00:00
Update lib/compiler-llvm/src/translator/code.rs
Co-authored-by: nlewycky <nick@wasmer.io>
This commit is contained in:
@ -89,7 +89,7 @@ impl FuncTranslator {
|
||||
_table_plans: &PrimaryMap<TableIndex, TablePlan>,
|
||||
func_names: &SecondaryMap<FunctionIndex, String>,
|
||||
) -> Result<(CompiledFunction, CustomSections), CompileError> {
|
||||
// The function type, used for the callbacks
|
||||
// The function type, used for the callbacks.
|
||||
let function = CompiledFunctionKind::Local(local_func_index.clone());
|
||||
let func_index = wasm_module.func_index(*local_func_index);
|
||||
let func_name = &func_names[func_index];
|
||||
|
Reference in New Issue
Block a user