Flatten tuple in return type, conditionally remove more jit debug code

This commit is contained in:
Mark McCaskey
2020-02-20 16:59:59 -08:00
parent 0ec08b5bbd
commit 7c5f8251e3
7 changed files with 30 additions and 33 deletions

View File

@ -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,
))
}