Hack around calling imports. Not yet working.

This commit is contained in:
losfair
2019-03-08 01:31:37 +08:00
parent 8d2e8773e0
commit 12c213739a
3 changed files with 68 additions and 5 deletions

View File

@ -18,6 +18,7 @@ pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator, PC: ProtectedCaller> {
&mut self,
assoc: Map<FuncIndex, SigIndex>,
) -> Result<(), CodegenError>;
fn feed_import_function(&mut self) -> Result<(), CodegenError>;
}
pub trait FunctionCodeGenerator {