message: Fix middleware with singlepass.
diff: @@ -54,12 +54,12 @@ impl Compiler for SinglepassCompiler {
  if compile_info.features.multi_value {
  return Err(CompileError::UnsupportedFeature("multivalue".to_string()));
  }
  - let vmoffsets = VMOffsets::new(8, &compile_info.module);
  let memory_styles = &compile_info.memory_styles;
  let table_styles = &compile_info.table_styles;
  let mut module = (*compile_info.module).clone();
  self.config.middlewares.apply_on_module_info(&mut module);
  compile_info.module = Arc::new(module);
  + let vmoffsets = VMOffsets::new(8, &compile_info.module);
  let module = &compile_info.module;
  let import_trampolines: PrimaryMap<SectionIndex, _> = (0..module.num_imported_functions)
  .map(FunctionIndex::new)
  