Add support for middleware to experimental_native_compile_module and make it work on compiler-llvm.

This commit is contained in:
Nick Lewycky
2020-11-23 13:56:17 -08:00
parent 89762a6d77
commit 8ca3693a56
2 changed files with 7 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ pub trait Compiler {
fn experimental_native_compile_module<'data, 'module>(
&self,
_target: &Target,
_module: &'module CompileModuleInfo,
_module: &'module mut CompileModuleInfo,
_module_translation: &ModuleTranslationState,
// The list of function bodies
_function_body_inputs: &PrimaryMap<LocalFunctionIndex, FunctionBodyData<'data>>,