Add a translation layer before import call in singlepass.

This commit is contained in:
losfair
2020-03-10 02:46:13 +08:00
parent 79613e42d7
commit 65962f0186
5 changed files with 129 additions and 35 deletions

View File

@ -8984,7 +8984,7 @@ impl<'ctx> ModuleCodeGenerator<LLVMFunctionCodeGenerator<'ctx>, LLVMBackend, Cod
Ok(())
}
fn feed_import_function(&mut self) -> Result<(), CodegenError> {
fn feed_import_function(&mut self, _sigindex: SigIndex) -> Result<(), CodegenError> {
self.func_import_count += 1;
Ok(())
}