simplify borrowing inference of compiler config in llvm backend

This commit is contained in:
Mark McCaskey
2019-03-27 14:25:29 -07:00
parent 51c2111d53
commit c51d44578d
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ use wasmparser::{
pub fn read_module(
wasm: &[u8],
compiler_config: &CompilerConfig,
compiler_config: CompilerConfig,
) -> Result<(ModuleInfo, CodeSectionReader), BinaryReaderError> {
let mut info = ModuleInfo {
memories: Map::new(),