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

@ -8847,10 +8847,8 @@ impl<'ctx> ModuleCodeGenerator<LLVMFunctionCodeGenerator<'ctx>, LLVMBackend, Cod
module_info: &ModuleInfo,
) -> Result<
(
(
LLVMBackend,
Option<wasmer_runtime_core::codegen::DebugMetadata>,
),
LLVMBackend,
Option<wasmer_runtime_core::codegen::DebugMetadata>,
Box<dyn CacheGen>,
),
CodegenError,
@ -8942,7 +8940,7 @@ impl<'ctx> ModuleCodeGenerator<LLVMFunctionCodeGenerator<'ctx>, LLVMBackend, Cod
&self.target_machine,
&mut self.llvm_callbacks,
);
Ok(((backend, None), Box::new(cache_gen)))
Ok((backend, None, Box::new(cache_gen)))
}
fn feed_compiler_config(&mut self, config: &CompilerConfig) -> Result<(), CodegenError> {