mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 22:21:32 +00:00
Flatten tuple in return type, conditionally remove more jit debug code
This commit is contained in:
@ -150,7 +150,8 @@ impl ModuleCodeGenerator<CraneliftFunctionCodeGenerator, Caller, CodegenError>
|
||||
module_info: &ModuleInfo,
|
||||
) -> Result<
|
||||
(
|
||||
(Caller, Option<wasmer_runtime_core::codegen::DebugMetadata>),
|
||||
Caller,
|
||||
Option<wasmer_runtime_core::codegen::DebugMetadata>,
|
||||
Box<dyn CacheGen>,
|
||||
),
|
||||
CodegenError,
|
||||
@ -184,10 +185,8 @@ impl ModuleCodeGenerator<CraneliftFunctionCodeGenerator, Caller, CodegenError>
|
||||
));
|
||||
|
||||
Ok((
|
||||
(
|
||||
Caller::new(handler_data, trampolines, func_resolver),
|
||||
debug_metadata,
|
||||
),
|
||||
Caller::new(handler_data, trampolines, func_resolver),
|
||||
debug_metadata,
|
||||
cache_gen,
|
||||
))
|
||||
}
|
||||
|
Reference in New Issue
Block a user